getRelativeFeedId: fix (2)
This commit is contained in:
parent
07a678636a
commit
8809f48495
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue