]> git.wh0rd.org - tt-rss.git/commitdiff
hide read feeds also hides labels
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 11 Aug 2007 02:55:25 +0000 (03:55 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 11 Aug 2007 02:55:25 +0000 (03:55 +0100)
functions.js

index bcb885ef36b922e0ce28f0509891bafee10f255e..0a65903c479e8eea2c69902c5f20244202bd1be1 100644 (file)
@@ -1010,6 +1010,7 @@ function hideOrShowFeedsCategory(doc, node, hide, cat_node) {
                        if (node.childNodes[i].style != undefined) {
 
                                var has_unread = (node.childNodes[i].className != "feed" &&
+                                       node.childNodes[i].className != "label" && 
                                        node.childNodes[i].className != "tag");
        
        //                      debug(node.childNodes[i].id + " --> " + has_unread);