FIX: Missing () made notifications invisible

This commit is contained in:
Robin Ward 2013-05-28 16:17:32 -04:00
parent ee319ea7f7
commit c73455bfa2

View File

@ -57,7 +57,7 @@ Discourse.HeaderView = Discourse.View.extend({
}));
// We've seen all the notifications now
Discourse.User.current.set('unread_notifications', 0);
Discourse.User.current().set('unread_notifications', 0);
headerView.showDropdown($('#user-notifications'));
});
return false;