From 0e78358a853f4507f2004322a75a824dc3a813e6 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 18 Jan 2016 11:24:06 -0800 Subject: [PATCH] fix reference to logWindow when not debug --- console/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/main.js b/console/src/main.js index c046a4fb68..dac37894f9 100644 --- a/console/src/main.js +++ b/console/src/main.js @@ -232,7 +232,7 @@ LogWindow.prototype = { this.window.loadURL('file://' + __dirname + '/log.html'); if (!debug) { - logWindow.setMenu(null); + this.window.setMenu(null); } this.window.on('closed', function() {