From 6e67a7c450c1db5c8c827ece6f447c61e94d78fb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 15 Sep 2012 20:46:02 +0400 Subject: [PATCH] cleanup previous patch (once again) --- js/FeedTree.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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);; -- 2.39.5