mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 14:35:58 +00:00
getRelativeFeedId iterates over hidden categories correctly (2)
This commit is contained in:
@@ -1149,7 +1149,7 @@ function getRelativeFeedId(list, id, direction, unread_only) {
|
|||||||
if (direction == "prev") {
|
if (direction == "prev") {
|
||||||
for (i = list.childNodes.length-1; i >= 0; i--) {
|
for (i = list.childNodes.length-1; i >= 0; i--) {
|
||||||
var child = list.childNodes[i];
|
var child = list.childNodes[i];
|
||||||
if (child.id == "feedCatHolder") {
|
if (child.id == "feedCatHolder" && child.className != "invisible") {
|
||||||
if (child.firstChild) {
|
if (child.firstChild) {
|
||||||
var cr = getRelativeFeedId(child.firstChild, id, direction);
|
var cr = getRelativeFeedId(child.firstChild, id, direction);
|
||||||
if (cr) return cr;
|
if (cr) return cr;
|
||||||
|
|||||||
Reference in New Issue
Block a user