stuff
This commit is contained in:
parent
4bb542199e
commit
41117f315b
|
@ -3872,6 +3872,7 @@
|
||||||
if (typeof browserWindow.removeMenu == "function") browserWindow.removeMenu();
|
if (typeof browserWindow.removeMenu == "function") browserWindow.removeMenu();
|
||||||
else browserWindow.setMenu(null);
|
else browserWindow.setMenu(null);
|
||||||
browserWindow.loadURL(url);
|
browserWindow.loadURL(url);
|
||||||
|
browserWindow.executeJavaScriptSafe = javaJS => {if (!browserWindow.isDestroyed()) browserWindow.webContents.executeJavaScript(javaJS);};
|
||||||
plugin.browserWindows.push(browserWindow);
|
plugin.browserWindows.push(browserWindow);
|
||||||
return browserWindow;
|
return browserWindow;
|
||||||
};
|
};
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue