From cabffe9dc461b47779b07c056a451b7022632e7b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 30 Sep 2006 09:32:24 +0100 Subject: [PATCH] relative unread feed search only considers real feeds --- functions.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/functions.js b/functions.js index f41a4df3..896d5488 100644 --- a/functions.js +++ b/functions.js @@ -1049,8 +1049,7 @@ function getRelativeFeedId(list, id, direction, unread_only) { if (e) { if (!unread_only || (unread_only && e.className != "feed" && - e.className != "label" && e.className != "virt" && - e.className != "error")) { + e.className.match("feed"))) { return e.id.replace("FEEDR-", ""); } } @@ -1087,7 +1086,7 @@ function getRelativeFeedId(list, id, direction, unread_only) { if (e) { if (!unread_only || (unread_only && e.className != "feed" && - e.className != "error")) { + e.className.match("feed"))) { return e.id.replace("FEEDR-", ""); } } -- 2.39.5