hideOrShowFeedsCategory: fix for offline feedlist
This commit is contained in:
parent
45a6446d87
commit
f4ce1f83d1
|
@ -855,6 +855,8 @@ function hideOrShowFeedsCategory(id, hide) {
|
||||||
|
|
||||||
// debug("end cat: " + node.id + " unread " + cat_unread);
|
// debug("end cat: " + node.id + " unread " + cat_unread);
|
||||||
|
|
||||||
|
if (cat_node) {
|
||||||
|
|
||||||
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 +
|
||||||
|
@ -875,6 +877,7 @@ function hideOrShowFeedsCategory(id, hide) {
|
||||||
debug(e);
|
debug(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// debug("unread for category: " + cat_unread);
|
// debug("unread for category: " + cat_unread);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue