diff options
author | Andrew Dolgov <[email protected]> | 2018-12-02 07:40:09 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-02 07:40:09 +0300 |
commit | d8ac5474ec8bb32a4085ed78f3c782c8baab2f7c (patch) | |
tree | bca80b830950172c8dd04ab8d7062f1a741c2d94 | |
parent | e5f3b755405ebf191835b449d08a2a8ac7dfebfb (diff) |
onLoaded: since we call scroll handler anyway, remove fill up hack
-rwxr-xr-x | js/viewfeed.js | 11 |
1 files changed, 1 insertions, 10 deletions
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() { |