mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:45:55 +00:00
infscroll: preload articles a bit earlier
This commit is contained in:
@@ -1279,7 +1279,7 @@ function headlines_scroll_handler(e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!_infscroll_disable) {
|
if (!_infscroll_disable) {
|
||||||
if (hsp && hsp.offsetTop <= e.scrollTop + e.offsetHeight) {
|
if (hsp && hsp.offsetTop + -100 <= e.scrollTop + e.offsetHeight) {
|
||||||
|
|
||||||
hsp.innerHTML = "<span class='loading'><img src='images/indicator_tiny.gif'> " +
|
hsp.innerHTML = "<span class='loading'><img src='images/indicator_tiny.gif'> " +
|
||||||
__("Loading, please wait...") + "</span>";
|
__("Loading, please wait...") + "</span>";
|
||||||
|
|||||||
Reference in New Issue
Block a user