Browse Source

unpackVisibleHeadlines: go ahead of the buffer position a bit (2)

Andrew Dolgov 1 year ago
parent
commit
59f5335f56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/viewfeed.js

+ 1 - 1
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];