call Headlines.scrollhandler() on window resize
This commit is contained in:
parent
8b2286305e
commit
b09a58a570
|
@ -213,6 +213,8 @@ define(["dojo/_base/declare"], function (declare) {
|
|||
App.setLoadingProgress(50);
|
||||
|
||||
document.onkeydown = (event) => { return App.hotkeyHandler(event) };
|
||||
window.onresize = () => { Headlines.scrollHandler(); }
|
||||
|
||||
window.setInterval(() => { Headlines.catchupBatched() }, 10 * 1000);
|
||||
|
||||
if (!this.getActive()) {
|
||||
|
|
Loading…
Reference in New Issue