From: Andrew Dolgov Date: Sat, 15 Sep 2012 16:46:02 +0000 (+0400) Subject: cleanup previous patch (once again) X-Git-Tag: 1.6.0~31 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6e67a7c450c1db5c8c827ece6f447c61e94d78fb;p=tt-rss.git cleanup previous patch (once again) --- diff --git a/js/FeedTree.js b/js/FeedTree.js index 5b5f8955..c4d7bf2f 100644 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -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);;