1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 16:45:55 +00:00

unpackVisibleHeadlines: increase lookahead distance

This commit is contained in:
Andrew Dolgov
2018-12-01 10:25:16 +03:00
parent b87b4287b7
commit c151607b91

View File

@@ -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();