summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-11 04:38:18 +0100
committerAndrew Dolgov <[email protected]>2007-08-11 04:38:18 +0100
commit8809f4849502b8cb0ec28f03329a9b0e1ddd1727 (patch)
tree2b41fa2803d6d5f340083195b2c598ede73a1c84 /functions.js
parent07a678636ab8a0972acf739b27bb365f2f0648bd (diff)
getRelativeFeedId: fix (2)
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index dc55b2c17..087a1364f 100644
--- a/functions.js
+++ b/functions.js
@@ -1214,7 +1214,7 @@ function getRelativeFeedId(list, id, direction, unread_only) {
for (var i = 0; i < rows.length; i++) {
if (rows[i].id.match("FEEDR-")) {
- if (Element.visible(rows[i]) && Element.visible(rows[i].parentNode)) {
+ if (rows[i].id == "FEEDR-" + id || (Element.visible(rows[i]) && Element.visible(rows[i].parentNode))) {
if (!unread_only ||
(rows[i].className.match("Unread") || rows[i].id == "FEEDR-" + id)) {