From: ragingwind Date: Fri, 22 Jan 2016 00:04:59 +0000 (+0900) Subject: Using strict comparation X-Git-Tag: v0.36.6~38^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=63ae73b2816ca3c3ab2ae8d8b674d15f5b366eb8;p=electron.git Using strict comparation --- diff --git a/spec/static/main.js b/spec/static/main.js index b295ba18..c49b2318 100644 --- a/spec/static/main.js +++ b/spec/static/main.js @@ -93,7 +93,7 @@ app.on('ready', function() { message: 'Window is not responsing', detail: 'The window is not responding. Would you like to force close it or just keep waiting?' }); - if (chosen == 0) window.destroy(); + if (chosen === 0) window.destroy(); }); // For session's download test, listen 'will-download' event in browser, and