summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-02 07:40:09 +0300
committerAndrew Dolgov <[email protected]>2018-12-02 07:40:09 +0300
commitd8ac5474ec8bb32a4085ed78f3c782c8baab2f7c (patch)
treebca80b830950172c8dd04ab8d7062f1a741c2d94 /js
parente5f3b755405ebf191835b449d08a2a8ac7dfebfb (diff)
onLoaded: since we call scroll handler anyway, remove fill up hack
Diffstat (limited to 'js')
-rwxr-xr-xjs/viewfeed.js11
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() {