From 87850ca1aa7948625c2e9c431b577e3149723cae Mon Sep 17 00:00:00 2001 From: wn_ Date: Sun, 2 Dec 2018 11:21:37 -0600 Subject: [PATCH] Fix 'document.onkeydown' handler --- js/Feeds.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/Feeds.js b/js/Feeds.js index ec90caba7..678b42f9d 100644 --- a/js/Feeds.js +++ b/js/Feeds.js @@ -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) { }); }, }); -}); \ No newline at end of file +});