From 837443630f5aeb25d34cd93d7a7d63442e8ae2b6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 11 Aug 2015 09:05:04 +0300 Subject: [PATCH] infscroll: preload articles a bit earlier --- js/viewfeed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/viewfeed.js b/js/viewfeed.js index b5484b83a..eee365a0b 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...") + "";