diff options
author | Andrew Dolgov <[email protected]> | 2007-05-14 04:26:39 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-05-14 04:26:39 +0100 |
commit | 144f32d94100151ed1c0d4e22422a04d8e6068bc (patch) | |
tree | 4d0e1c1beb9b081d154721539e8e333301e1775c | |
parent | 4e38b6c33545272596efc12881908996fb8c5630 (diff) |
getRelativeFeedId iterates over hidden categories correctly (2)
-rw-r--r-- | functions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.js b/functions.js index 876837a8e..1f031f149 100644 --- a/functions.js +++ b/functions.js @@ -1149,7 +1149,7 @@ function getRelativeFeedId(list, id, direction, unread_only) { if (direction == "prev") { for (i = list.childNodes.length-1; i >= 0; i--) { var child = list.childNodes[i]; - if (child.id == "feedCatHolder") { + if (child.id == "feedCatHolder" && child.className != "invisible") { if (child.firstChild) { var cr = getRelativeFeedId(child.firstChild, id, direction); if (cr) return cr; |