diff options
author | Andrew Dolgov <[email protected]> | 2006-09-30 09:32:24 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-09-30 09:32:24 +0100 |
commit | cabffe9dc461b47779b07c056a451b7022632e7b (patch) | |
tree | e758d9033286b5d1a077551c4d31ed72bf44e2af | |
parent | a58d997c5e60c863cb40c41e50db20f2866edfae (diff) |
relative unread feed search only considers real feeds
-rw-r--r-- | functions.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/functions.js b/functions.js index f41a4df3c..896d54886 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-", ""); } } |