Skip to content

Commit

Permalink
chore: fix 'browserView' typo (#16621)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckerr authored and codebytere committed Jan 31, 2019
1 parent ba57e1d commit 76dcbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/browser/api/web-contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ WebContents.prototype._init = function () {
})

// Handle window.open for BrowserWindow and BrowserView.
if (['browserview', 'window'].includes(this.getType())) {
if (['browserView', 'window'].includes(this.getType())) {
// Make new windows requested by links behave like "window.open".
this.on('-new-window', (event, url, frameName, disposition,
additionalFeatures, postData,
Expand Down

0 comments on commit 76dcbcd

Please sign in to comment.