From 63ae73b2816ca3c3ab2ae8d8b674d15f5b366eb8 Mon Sep 17 00:00:00 2001 From: ragingwind Date: Fri, 22 Jan 2016 09:04:59 +0900 Subject: [PATCH] Using strict comparation --- spec/static/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/static/main.js b/spec/static/main.js index b295ba185525..c49b2318de6a 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