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);
|
Utils.setLoadingProgress(50);
|
||||||
|
|
||||||
document.onkeydown = () => { App.hotkeyHandler(event) };
|
document.onkeydown = (event) => { App.hotkeyHandler(event) };
|
||||||
window.setInterval(() => { Headlines.catchupBatched() }, 10 * 1000);
|
window.setInterval(() => { Headlines.catchupBatched() }, 10 * 1000);
|
||||||
|
|
||||||
if (!this.getActive()) {
|
if (!this.getActive()) {
|
||||||
|
|
Loading…
Reference in New Issue