diff options
author | Andrew Dolgov <[email protected]> | 2018-12-01 10:25:16 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-01 10:25:16 +0300 |
commit | c151607b91ca8f9e03d756955b8a80852712e15c (patch) | |
tree | 55c50b984edd02c1389ddb16167c130c4afbad49 | |
parent | b87b4287b720e02f3fd4ffd4b4c8642b92e5c494 (diff) |
unpackVisibleHeadlines: increase lookahead distance
-rwxr-xr-x | js/viewfeed.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index d7db88d37..e94232c50 100755 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1094,7 +1094,7 @@ function unpackVisibleHeadlines() { if (!isCombinedMode() || !getInitParam("cdm_expanded")) return; const rows = $$("#headlines-frame div[id*=RROW][data-content]"); - const threshold = $("headlines-frame").scrollTop + $("headlines-frame").offsetHeight + 300; + const threshold = $("headlines-frame").scrollTop + $("headlines-frame").offsetHeight + 600; for (let i = 0; i < rows.length; i++) { const row = rows[i]; @@ -1121,7 +1121,6 @@ function headlinesScrollHandler(event) { try { unpackVisibleHeadlines(); - if (isCombinedMode()) { updateFloatingTitle(); |