]> git.wh0rd.org Git - tt-rss.git/commitdiff
feedtree: do not hide special category for reals if configured as such
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 6 Mar 2015 11:42:05 +0000 (14:42 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 6 Mar 2015 11:42:05 +0000 (14:42 +0300)
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 {