From: Andrew Dolgov Date: Fri, 6 Mar 2015 11:42:05 +0000 (+0300) Subject: feedtree: do not hide special category for reals if configured as such X-Git-Tag: 16.3~345 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=40f147df791a9fd7c01034688185918ccd66696b;p=tt-rss.git feedtree: do not hide special category for reals if configured as such --- diff --git a/js/FeedTree.js b/js/FeedTree.js index 6c06f00d..a9a69187 100644 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -393,7 +393,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, { if (node) { var check_unread = tree.model.getFeedUnread(bare_id, true); - if (hide && cat_unread == 0 && check_unread == 0) { + if (hide && cat_unread == 0 && check_unread == 0 && (id != "CAT:-1" || !show_special)) { Effect.Fade(node[0].rowNode, {duration : 0.3, queue: { position: 'end', scope: 'FFADE-' + id, limit: 1 }}); } else {