]> git.wh0rd.org Git - tt-rss.git/commitdiff
jump-on-catchup is now aware of read feeds with update errors
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 17 May 2006 13:54:54 +0000 (14:54 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 17 May 2006 13:54:54 +0000 (14:54 +0100)
functions.js

index d9e76fff22ef6ebbbbf99019955bc89873440a7f..7e7b395fde5cdf5f701ccc03a32fa38e2f71e96e 100644 (file)
@@ -797,7 +797,8 @@ function getRelativeFeedId(list, id, direction, unread_only) {
                           }
 
                                if (e) {
-                                       if (!unread_only || (unread_only && e.className != "feed"))     {
+                                       if (!unread_only || (unread_only && e.className != "feed" && 
+                                                       e.className != "error"))        {
                                                return e.id.replace("FEEDR-", "");
                                        }
                                }
@@ -833,7 +834,8 @@ function getRelativeFeedId(list, id, direction, unread_only) {
                           }
 
                                if (e) {
-                                       if (!unread_only || (unread_only && e.className != "feed"))     {
+                                       if (!unread_only || (unread_only && e.className != "feed" && 
+                                                       e.className != "error"))        {
                                                return e.id.replace("FEEDR-", "");
                                        }
                                }