From: Andrew Dolgov Date: Sat, 11 Aug 2007 03:38:18 +0000 (+0100) Subject: getRelativeFeedId: fix (2) X-Git-Tag: 1.2.14~74 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8809f4849502b8cb0ec28f03329a9b0e1ddd1727;p=tt-rss.git getRelativeFeedId: fix (2) --- diff --git a/functions.js b/functions.js index dc55b2c1..087a1364 100644 --- a/functions.js +++ b/functions.js @@ -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)) {