summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-14 04:26:39 +0100
committerAndrew Dolgov <[email protected]>2007-05-14 04:26:39 +0100
commit144f32d94100151ed1c0d4e22422a04d8e6068bc (patch)
tree4d0e1c1beb9b081d154721539e8e333301e1775c /functions.js
parent4e38b6c33545272596efc12881908996fb8c5630 (diff)
getRelativeFeedId iterates over hidden categories correctly (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 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;