]> git.wh0rd.org Git - tt-rss.git/commitdiff
getRelativeFeedId: fix (2)
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 11 Aug 2007 03:38:18 +0000 (04:38 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 11 Aug 2007 03:38:18 +0000 (04:38 +0100)
functions.js

index dc55b2c17e7fb309d0c5e52c82e45163b5c72ec1..087a1364fe0c8252e2c341a07255086a4cc6de56 100644 (file)
@@ -1214,7 +1214,7 @@ function getRelativeFeedId(list, id, direction, unread_only) {
        for (var i = 0; i < rows.length; i++) {
                if (rows[i].id.match("FEEDR-")) {
 
-                       if (Element.visible(rows[i]) && Element.visible(rows[i].parentNode)) {
+                       if (rows[i].id == "FEEDR-" + id || (Element.visible(rows[i]) && Element.visible(rows[i].parentNode))) {
 
                                if (!unread_only || 
                                                (rows[i].className.match("Unread") || rows[i].id == "FEEDR-" + id)) {