summaryrefslogtreecommitdiffstats
path: root/js/menu.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/menu.js')
-rw-r--r--js/menu.js5
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');