getRelativeFeedId iterates over hidden categories correctly (2)

This commit is contained in:
Andrew Dolgov 2007-05-14 04:26:39 +01:00
parent 4e38b6c335
commit 144f32d941
1 changed files with 1 additions and 1 deletions

View File

@ -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;