relative unread feed search only considers real feeds

This commit is contained in:
Andrew Dolgov 2006-09-30 09:32:24 +01:00
parent a58d997c5e
commit cabffe9dc4
1 changed files with 2 additions and 3 deletions

View File

@ -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-", "");
}
}