From 9b88ba67d088343e5bc5d0ff2e099e194a2b2399 Mon Sep 17 00:00:00 2001 From: Alan Stoll Date: Mon, 7 Jul 2014 11:59:52 -0400 Subject: [PATCH] disable node integration in the browser window because it screws stuff up --- shell/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell/index.js b/shell/index.js index 71e4543c9..f28a1ee73 100644 --- a/shell/index.js +++ b/shell/index.js @@ -24,7 +24,8 @@ module.exports = function(copay) { // create the main window mainWindow = new BrowserWindow({ width: config.window.width, - height: config.window.height + height: config.window.height, + "node-integration": "disable" }); // hide the empty window @@ -52,7 +53,7 @@ module.exports = function(copay) { mainWindow = null; }); - // mainWindow.toggleDevTools(); + //mainWindow.toggleDevTools(); });