]> git.wh0rd.org Git - tt-rss.git/commitdiff
unpackVisibleHeadlines: go ahead of the buffer position a bit (2)
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 30 Nov 2018 11:26:28 +0000 (14:26 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 30 Nov 2018 11:26:28 +0000 (14:26 +0300)
js/viewfeed.js

index e1d9cefdfabe91589efeb0cc1db244f393f92893..886d13f066ba00f9aa8464dd428006b1004b7dcf 100755 (executable)
@@ -1008,7 +1008,7 @@ function unpackVisibleHeadlines() {
        if (!isCdmMode()) return;
 
     const rows = $$("#headlines-frame div[id*=RROW][data-content]");
-       const threshold = $("headlines-frame").scrollTop + $("headlines-frame").offsetHeight + 100;
+       const threshold = $("headlines-frame").scrollTop + $("headlines-frame").offsetHeight + 300;
 
     for (let i = 0; i < rows.length; i++) {
         const row = rows[i];