mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 09:26:05 +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.unread = newCount;
|
||||||
this.notificationCount.unreadRaw = rawCount;
|
this.notificationCount.unreadRaw = rawCount;
|
||||||
|
mw.hook( 'ext.echo.updateNotificationCount' ).fire( rawCount );
|
||||||
},
|
},
|
||||||
|
|
||||||
configuration: mw.config.get( 'wgEchoOverlayConfiguration' ),
|
configuration: mw.config.get( 'wgEchoOverlayConfiguration' ),
|
||||||
|
|
Loading…
Reference in a new issue