hideReadFeeds also hides labels

This commit is contained in:
Andrew Dolgov 2013-03-19 16:11:43 +04:00
parent 6e61104d78
commit 714b063f6b

View file

@ -309,7 +309,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
var node = tree._itemNodesMap[id]; var node = tree._itemNodesMap[id];
if (node) { if (node) {
if (hide && unread == 0 && (bare_id > 0 || !show_special)) { if (hide && unread == 0 && (bare_id > 0 || bare_id < -10 || !show_special)) {
Effect.Fade(node[0].rowNode, {duration : 0.3, Effect.Fade(node[0].rowNode, {duration : 0.3,
queue: { position: 'end', scope: 'FFADE-' + id, limit: 1 }}); queue: { position: 'end', scope: 'FFADE-' + id, limit: 1 }});
} else { } else {