hideOrShowFeedsCategory: additional debugging
This commit is contained in:
parent
46f73352f9
commit
2c2b019b1b
|
@ -919,6 +919,8 @@ function hideOrShowFeedsCategory(doc, node, hide, cat_node) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
debug("cat: " + node.id);
|
||||||
|
|
||||||
if (node.hasChildNodes() && node.firstChild.nextSibling != false) {
|
if (node.hasChildNodes() && node.firstChild.nextSibling != false) {
|
||||||
for (i = 0; i < node.childNodes.length; i++) {
|
for (i = 0; i < node.childNodes.length; i++) {
|
||||||
if (node.childNodes[i].nodeName != "LI") { continue; }
|
if (node.childNodes[i].nodeName != "LI") { continue; }
|
||||||
|
@ -955,6 +957,8 @@ function hideOrShowFeedsCategory(doc, node, hide, cat_node) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
debug("end cat: " + node.id + " unread " + cat_unread);
|
||||||
|
|
||||||
if (cat_unread == 0) {
|
if (cat_unread == 0) {
|
||||||
if (cat_node.style == undefined) {
|
if (cat_node.style == undefined) {
|
||||||
debug("ERROR: supplied cat_node " + cat_node +
|
debug("ERROR: supplied cat_node " + cat_node +
|
||||||
|
|
Loading…
Reference in New Issue