This commit is contained in:
Mirco Wittrien 2020-01-21 14:53:15 +01:00
parent 2e1ab81891
commit 424b533086
2 changed files with 3 additions and 2 deletions

View File

@ -4276,7 +4276,8 @@
nodeIntegrationInWorker: true
}
}, options));
browserWindow.removeMenu();
if (typeof browserWindow.removeMenu == "function") browserWindow.removeMenu();
else browserWindow.setMenu(null);
browserWindow.loadURL(url);
plugin.browserWindows.push(browserWindow);
return browserWindow;

File diff suppressed because one or more lines are too long