]> git.wh0rd.org - tt-rss.git/blobdiff - js/FeedTree.js
feedtree: do not hide special category for reals if configured as such
[tt-rss.git] / js / FeedTree.js
index 6c06f00d5ea09fc775906a09579540be2b32e957..a9a69187e2699d18a307ab0ffbb0d618afba10b4 100644 (file)
@@ -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 {