From 59f5335f56a85c428740a9cd6ded75ecc51d31fa Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 30 Nov 2018 14:26:28 +0300 Subject: [PATCH] unpackVisibleHeadlines: go ahead of the buffer position a bit (2) --- js/viewfeed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/viewfeed.js b/js/viewfeed.js index e1d9cefdf..886d13f06 100755 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -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];