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();
|
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("");
|
notify("");
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in New Issue