]> git.wh0rd.org - tt-rss.git/commitdiff
cleanup previous patch (once again)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 15 Sep 2012 16:46:02 +0000 (20:46 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 15 Sep 2012 16:46:02 +0000 (20:46 +0400)
js/FeedTree.js

index 5b5f89558ec6fdccc2d72a572fa899c74b90dc3e..c4d7bf2f74e5e5e8c91957fdad7002ec8766c956 100644 (file)
@@ -295,11 +295,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
 
                        // it's a subcategory
                        if (feed.items) {
-                               feed.items.each(function(child) {
-                                       if (child.items) {
-                                               tree.hideReadCat(child, hide, show_special);
-                                       }
-                               });
+                               tree.hideReadCat(feed, hide, show_special);
                        } else {        // it's a feed
                                var bare_id = parseInt(feed.bare_id);;