chore: fix 'browserView' typo (#16621)
This commit is contained in:
parent
ba57e1d991
commit
76dcbcd6ea
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue