]> git.wh0rd.org Git - tt-rss.git/commitdiff
relative unread feed search only considers real feeds
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 30 Sep 2006 08:32:24 +0000 (09:32 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 30 Sep 2006 08:32:24 +0000 (09:32 +0100)
functions.js

index f41a4df3c992e8c03c78f6d261ab95af09239c25..896d54886ecf36182faebd3a7bc6b1b6474ecf73 100644 (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-", "");
                                        }
                                }