mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-24 18:59:40 +00:00
Fixed CPB flyout notification count
Added ext.echo.updateNotificationCount to notify other extensions about updates to the notification count. Bug: T67178 Change-Id: I7f4e34f2c1808b249db010018dd1b49a8dde246a
This commit is contained in:
parent
d53857c7c3
commit
562168b261
|
@ -219,6 +219,7 @@
|
|||
}
|
||||
this.notificationCount.unread = newCount;
|
||||
this.notificationCount.unreadRaw = rawCount;
|
||||
mw.hook( 'ext.echo.updateNotificationCount' ).fire( rawCount );
|
||||
},
|
||||
|
||||
configuration: mw.config.get( 'wgEchoOverlayConfiguration' ),
|
||||
|
|
Loading…
Reference in a new issue