Using strict comparation
This commit is contained in:
parent
af3def91f2
commit
63ae73b281
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ app.on('ready', function() {
|
||||||
message: 'Window is not responsing',
|
message: 'Window is not responsing',
|
||||||
detail: 'The window is not responding. Would you like to force close it or just keep waiting?'
|
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
|
// For session's download test, listen 'will-download' event in browser, and
|
||||||
|
|
Loading…
Reference in a new issue