mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 03:05:55 +00:00
onLoaded: since we call scroll handler anyway, remove fill up hack
This commit is contained in:
@@ -735,18 +735,9 @@ const Headlines = {
|
|||||||
Feeds.infscroll_in_progress = 0;
|
Feeds.infscroll_in_progress = 0;
|
||||||
|
|
||||||
// this is used to auto-catchup articles if needed after infscroll request has finished,
|
// 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();
|
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("");
|
notify("");
|
||||||
},
|
},
|
||||||
reverseHeadlineOrder: function() {
|
reverseHeadlineOrder: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user