From: Andrew Dolgov Date: Sat, 30 Sep 2006 08:32:24 +0000 (+0100) Subject: relative unread feed search only considers real feeds X-Git-Tag: 1.2.4~58 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=cabffe9dc461b47779b07c056a451b7022632e7b;p=tt-rss.git relative unread feed search only considers real feeds --- 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-", ""); } }