mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:31:44 +08:00
FIX: Missing ()
made notifications invisible
This commit is contained in:
parent
ee319ea7f7
commit
c73455bfa2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user