From 4b492cc93ef2a15a4d5dfe51d38164884464d1a9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 1 Dec 2018 22:24:30 +0300 Subject: [PATCH] clear _infscroll_timeout when headlines are loaded --- js/feedlist.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/feedlist.js b/js/feedlist.js index bff62043f..33b5806e5 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -372,6 +372,7 @@ const Feeds = { Headlines.catchupBatchedArticles(() => { xhrPost("backend.php", query, (transport) => { try { + window.clearTimeout(this._infscroll_timeout); this.setFeedExpandoIcon(feed, is_cat, 'images/blank_icon.gif'); Headlines.onLoaded(transport, offset); PluginHost.run(PluginHost.HOOK_FEED_LOADED, [feed, is_cat]);