1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 04:25:57 +00:00

call Headlines.scrollhandler() on window resize

This commit is contained in:
Andrew Dolgov
2018-12-06 13:24:36 +03:00
parent 8b2286305e
commit b09a58a570

View File

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