mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-12 11:31:00 +02:00
try to fill the buffer with headlines if possible
This commit is contained in:
parent
ef74a05ea2
commit
2b28c8f2da
@ -210,6 +210,16 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
||||
|
||||
unpackVisibleHeadlines();
|
||||
|
||||
// if we have some more space in the buffer, why not try to fill it
|
||||
|
||||
if (!_infscroll_disable && $("headlines-spacer").offsetTop <
|
||||
$("headlines-frame").offsetHeight) {
|
||||
|
||||
window.setTimeout(function() {
|
||||
loadMoreHeadlines();
|
||||
}, 250);
|
||||
}
|
||||
|
||||
notify("");
|
||||
|
||||
} catch (e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user