summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-30 09:32:24 +0100
committerAndrew Dolgov <[email protected]>2006-09-30 09:32:24 +0100
commitcabffe9dc461b47779b07c056a451b7022632e7b (patch)
treee758d9033286b5d1a077551c4d31ed72bf44e2af /functions.js
parenta58d997c5e60c863cb40c41e50db20f2866edfae (diff)
relative unread feed search only considers real feeds
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js5
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-", "");
}
}