mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 04:15:55 +00:00
update prefetching store, add expiry
This commit is contained in:
@@ -1687,9 +1687,9 @@ function getRelativePostIds(id) {
|
||||
if (i > 1) ids.push(rows[i-2].id.replace("RROW-", ""));
|
||||
if (i > 2) ids.push(rows[i-3].id.replace("RROW-", ""));
|
||||
|
||||
if (i < rows.length) ids.push(rows[i+1].id.replace("RROW-", ""));
|
||||
if (i < rows.length-1) ids.push(rows[i+2].id.replace("RROW-", ""));
|
||||
if (i < rows.length-2) ids.push(rows[i+3].id.replace("RROW-", ""));
|
||||
if (i < rows.length-1) ids.push(rows[i+1].id.replace("RROW-", ""));
|
||||
if (i < rows.length-2) ids.push(rows[i+2].id.replace("RROW-", ""));
|
||||
if (i < rows.length-3) ids.push(rows[i+3].id.replace("RROW-", ""));
|
||||
|
||||
return ids;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user