From: Andrew Dolgov Date: Tue, 11 Aug 2015 06:05:04 +0000 (+0300) Subject: infscroll: preload articles a bit earlier X-Git-Tag: 16.3~183 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=837443630f5aeb25d34cd93d7a7d63442e8ae2b6;p=tt-rss.git infscroll: preload articles a bit earlier --- diff --git a/js/viewfeed.js b/js/viewfeed.js index b5484b83..eee365a0 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1279,7 +1279,7 @@ function headlines_scroll_handler(e) { } if (!_infscroll_disable) { - if (hsp && hsp.offsetTop <= e.scrollTop + e.offsetHeight) { + if (hsp && hsp.offsetTop + -100 <= e.scrollTop + e.offsetHeight) { hsp.innerHTML = " " + __("Loading, please wait...") + "";