From 144f32d94100151ed1c0d4e22422a04d8e6068bc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 14 May 2007 04:26:39 +0100 Subject: [PATCH] getRelativeFeedId iterates over hidden categories correctly (2) --- functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;