summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-01 22:24:30 +0300
committerAndrew Dolgov <[email protected]>2018-12-01 22:24:30 +0300
commit4b492cc93ef2a15a4d5dfe51d38164884464d1a9 (patch)
treec62be908734477172333521e060bb9e24298196d /js
parentf11933e1fec274fea0c588c0dbc3df698e54d589 (diff)
clear _infscroll_timeout when headlines are loaded
Diffstat (limited to 'js')
-rw-r--r--js/feedlist.js1
1 files changed, 1 insertions, 0 deletions
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]);