mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Add a comment to counting unread page notifications
Change-Id: Ic2cd5e06ddf926da9fe9c924e5f46e0e4601fde9
This commit is contained in:
parent
b69dfbbf0a
commit
29e7bd568d
|
@ -133,6 +133,11 @@
|
|||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Count the unread messages that originate from the user talk page.
|
||||
*
|
||||
* @return {number} Number of unread talk page messages
|
||||
*/
|
||||
mw.echo.dm.NotificationsModel.prototype.countUnreadTalkPageNotifications = function () {
|
||||
var i, len,
|
||||
talk = 0,
|
||||
|
|
Loading…
Reference in a new issue