From d8ac5474ec8bb32a4085ed78f3c782c8baab2f7c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Dec 2018 07:40:09 +0300 Subject: onLoaded: since we call scroll handler anyway, remove fill up hack --- js/viewfeed.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'js') diff --git a/js/viewfeed.js b/js/viewfeed.js index 3fb9f0749..a609a65d1 100755 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -735,18 +735,9 @@ const Headlines = { Feeds.infscroll_in_progress = 0; // this is used to auto-catchup articles if needed after infscroll request has finished, - // unpack visible articles, etc + // unpack visible articles, fill buffer more, etc this.scrollHandler(); - // if we have some more space in the buffer, why not try to fill it - if (!Feeds.infscroll_disabled && $("headlines-spacer") && - $("headlines-spacer").offsetTop < $("headlines-frame").offsetHeight) { - - window.setTimeout(function () { - this.loadMoreHeadlines(); - }, 500); - } - notify(""); }, reverseHeadlineOrder: function() { -- cgit v1.2.3