Fix 'document.onkeydown' handler
This commit is contained in:
parent
d9c5c93cef
commit
87850ca1aa
|
@ -212,7 +212,7 @@ define(["dojo/_base/declare"], function (declare) {
|
|||
|
||||
Utils.setLoadingProgress(50);
|
||||
|
||||
document.onkeydown = () => { App.hotkeyHandler(event) };
|
||||
document.onkeydown = (event) => { App.hotkeyHandler(event) };
|
||||
window.setInterval(() => { Headlines.catchupBatched() }, 10 * 1000);
|
||||
|
||||
if (!this.getActive()) {
|
||||
|
@ -637,4 +637,4 @@ define(["dojo/_base/declare"], function (declare) {
|
|||
});
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue