diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-10-31 01:46:33 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-10-31 01:46:33 +0100 |
commit | c52c93f1e56e82a3957ad25cfed903d23caa6fb9 (patch) | |
tree | 00e2bd50350ab2b405fe008d9d6345aa8ba93bc3 /js/menu.js | |
parent | 3d5f0835bb089259d21c998cbf68e804cd6a91dd (diff) |
added unreadcounter for folders
Diffstat (limited to 'js/menu.js')
-rw-r--r-- | js/menu.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/js/menu.js b/js/menu.js index 2d60d9e87..b5da5e8cf 100644 --- a/js/menu.js +++ b/js/menu.js @@ -840,10 +840,7 @@ var News = News || {}; */ Menu.prototype._applyUnreadCountStyle = function(type, id, unreadCount) { var $node = this._getNodeFromTypeAndId(type, id); - - if(type !== MenuNodeType.Folder){ - $node.children('.unread_items_counter').html(unreadCount); - } + $node.children('.unread_items_counter').html(unreadCount); if(unreadCount === 0){ $node.addClass('all_read'); |