mirror of
https://github.com/electron/electron.git
synced 2026-01-25 07:18:18 -05:00
Using strict comparation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user