disable node integration in the browser window because it screws stuff up
This commit is contained in:
parent
44ef1c4710
commit
9b88ba67d0
1 changed files with 3 additions and 2 deletions
|
|
@ -24,7 +24,8 @@ module.exports = function(copay) {
|
||||||
// create the main window
|
// create the main window
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
width: config.window.width,
|
width: config.window.width,
|
||||||
height: config.window.height
|
height: config.window.height,
|
||||||
|
"node-integration": "disable"
|
||||||
});
|
});
|
||||||
|
|
||||||
// hide the empty window
|
// hide the empty window
|
||||||
|
|
@ -52,7 +53,7 @@ module.exports = function(copay) {
|
||||||
mainWindow = null;
|
mainWindow = null;
|
||||||
});
|
});
|
||||||
|
|
||||||
// mainWindow.toggleDevTools();
|
//mainWindow.toggleDevTools();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue