diff options
author | Andrew Dolgov <[email protected]> | 2007-05-15 06:21:19 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-05-15 06:21:19 +0100 |
commit | fed4387da18b4aedf6b246d4f964b23c46b9dba9 (patch) | |
tree | 60e591aa72125d24128db9446e3f25306cbce242 /functions.js | |
parent | e097e8be75440dd03e7f36ff8a1d0e01725295c3 (diff) |
update prefetching store, add expiry
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functions.js b/functions.js index 09f430096..0677308f4 100644 --- a/functions.js +++ b/functions.js @@ -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; } |