chore: fix 'browserView' typo (#16621)

This commit is contained in:
Charles Kerr 2019-01-30 23:07:08 -06:00 committed by Shelley Vohr
parent ba57e1d991
commit 76dcbcd6ea

View file

@ -451,7 +451,7 @@ WebContents.prototype._init = function () {
}) })
// Handle window.open for BrowserWindow and BrowserView. // 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". // Make new windows requested by links behave like "window.open".
this.on('-new-window', (event, url, frameName, disposition, this.on('-new-window', (event, url, frameName, disposition,
additionalFeatures, postData, additionalFeatures, postData,