summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-30 14:26:28 +0300
committerAndrew Dolgov <[email protected]>2018-11-30 14:26:28 +0300
commit59f5335f56a85c428740a9cd6ded75ecc51d31fa (patch)
tree524bae842ac70a27b61f9eb0c86a1f7c25386b2a /js
parent58dee80ae5c3eaf9e48d8ab04e043fdb03eb4554 (diff)
unpackVisibleHeadlines: go ahead of the buffer position a bit (2)
Diffstat (limited to 'js')
-rwxr-xr-xjs/viewfeed.js2
1 files changed, 1 insertions, 1 deletions
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];