cleanup previous patch (once again)

This commit is contained in:
Andrew Dolgov 2012-09-15 20:46:02 +04:00
parent 1a8a623924
commit 6e67a7c450
1 changed files with 1 additions and 5 deletions

View File

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