]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable new content prompt for categories
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Nov 2010 19:28:16 +0000 (22:28 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 19 Nov 2010 19:28:16 +0000 (22:28 +0300)
feedlist.js

index ad3c2c2c89b2892768ff07f72d4ddcae2902c241..9fb9c9efbc1e56ff679569d33d8857444efd1462 100644 (file)
@@ -309,7 +309,10 @@ function parse_counters(reply, scheduled_call) {
 
                        var treeItem;
 
-                       if (id == getActiveFeedId() && ctr > getFeedUnread(id) && scheduled_call) {
+                       // TODO: enable new content notification for categories
+
+                       if (!activeFeedIsCat() && id == getActiveFeedId() 
+                                       && ctr > getFeedUnread(id) && scheduled_call) {
                                displayNewContentPrompt(id);
                        }