Fix 'document.onkeydown' handler

This commit is contained in:
wn_ 2018-12-02 11:21:37 -06:00
parent d9c5c93cef
commit 87850ca1aa
1 changed files with 2 additions and 2 deletions

View File

@ -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()) {