getRelativeFeedId: fix (2)

This commit is contained in:
Andrew Dolgov 2007-08-11 04:38:18 +01:00
parent 07a678636a
commit 8809f48495
1 changed files with 1 additions and 1 deletions

View File

@ -1214,7 +1214,7 @@ function getRelativeFeedId(list, id, direction, unread_only) {
for (var i = 0; i < rows.length; i++) { for (var i = 0; i < rows.length; i++) {
if (rows[i].id.match("FEEDR-")) { 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 || if (!unread_only ||
(rows[i].className.match("Unread") || rows[i].id == "FEEDR-" + id)) { (rows[i].className.match("Unread") || rows[i].id == "FEEDR-" + id)) {