зеркало из https://github.com/electron/electron.git
Fix indentation
This commit is contained in:
Родитель
5a4cdcfde1
Коммит
3408c8038e
|
@ -141,7 +141,7 @@ const getGuestWindow = function (guestId) {
|
|||
ipcMain.on('ELECTRON_GUEST_WINDOW_MANAGER_WINDOW_OPEN', function (event, url, frameName, disposition, options, additionalFeatures) {
|
||||
options = mergeBrowserWindowOptions(event.sender, options)
|
||||
event.sender.emit('new-window', event, url, frameName, disposition, options, additionalFeatures)
|
||||
var newGuest = event.newGuest
|
||||
const newGuest = event.newGuest
|
||||
if ((event.sender.isGuest() && !event.sender.allowPopups) || event.defaultPrevented) {
|
||||
if (newGuest != undefined && newGuest != null) {
|
||||
event.returnValue = setupGuest(event.sender, frameName, newGuest)
|
||||
|
|
Загрузка…
Ссылка в новой задаче