call Headlines.scrollhandler() on window resize

master
Andrew Dolgov 6 years ago
parent 8b2286305e
commit b09a58a570

@ -213,6 +213,8 @@ define(["dojo/_base/declare"], function (declare) {
App.setLoadingProgress(50); App.setLoadingProgress(50);
document.onkeydown = (event) => { return App.hotkeyHandler(event) }; document.onkeydown = (event) => { return App.hotkeyHandler(event) };
window.onresize = () => { Headlines.scrollHandler(); }
window.setInterval(() => { Headlines.catchupBatched() }, 10 * 1000); window.setInterval(() => { Headlines.catchupBatched() }, 10 * 1000);
if (!this.getActive()) { if (!this.getActive()) {

Loading…
Cancel
Save