Add comment about disablePopups setting
This commit is contained in:
parent
6c520a5f40
commit
9ac2cf0d44
1 changed files with 1 additions and 0 deletions
|
@ -225,6 +225,7 @@ const attachGuest = function (event, elementInstanceId, guestInstanceId, params)
|
||||||
webPreferences.preloadURL = params.preload
|
webPreferences.preloadURL = params.preload
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Return null from native window.open if allowpopups is unset
|
||||||
if (webPreferences.nativeWindowOpen === true && !params.allowpopups) {
|
if (webPreferences.nativeWindowOpen === true && !params.allowpopups) {
|
||||||
webPreferences.disablePopups = true
|
webPreferences.disablePopups = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue