From: Andrew Dolgov Date: Fri, 19 Nov 2010 19:28:16 +0000 (+0300) Subject: disable new content prompt for categories X-Git-Tag: 1.5.0~127 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=179db4a005ac88775ef279be3804c0768785d8ba;p=tt-rss.git disable new content prompt for categories --- diff --git a/feedlist.js b/feedlist.js index ad3c2c2c..9fb9c9ef 100644 --- a/feedlist.js +++ b/feedlist.js @@ -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); }