diff options
| author | Andrew Dolgov <fox@bah.spb.su> | 2006-05-17 14:54:54 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.spb.su> | 2006-05-17 14:54:54 +0100 |
| commit | e686782e83642223ee5d646637f53fbf2d4bbcbc (patch) | |
| tree | 2a275bbd24f7196b04b5fca0bf3fc16a30bdab93 /functions.js | |
| parent | 233b8e07d4bccb17d3fc7b5844ec9e40d2593eb1 (diff) | |
jump-on-catchup is now aware of read feeds with update errors
Diffstat (limited to 'functions.js')
| -rw-r--r-- | functions.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/functions.js b/functions.js index d9e76fff2..7e7b395fd 100644 --- a/functions.js +++ b/functions.js @@ -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-", ""); } } |