1
0
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:
Andrew Dolgov
2007-05-15 06:21:19 +01:00
parent e097e8be75
commit fed4387da1
2 changed files with 26 additions and 11 deletions

View File

@@ -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;
}