diff --git a/src/app.js b/src/app.js index 67b0717e..2357d8f1 100644 --- a/src/app.js +++ b/src/app.js @@ -37,7 +37,7 @@ if (platform.isWindows) { // Adjust the default behaviour of the main window windowBehaviour.set(win); windowBehaviour.setNewWinPolicy(win); -windowBehaviour.closeWithEscKey(win, doc); // doesn't seem to work +windowBehaviour.closeWithEscKey(win, document); // doesn't seem to work // Inject logic into the app when it's loaded var iframe = document.querySelector('iframe');