Add a comment to counting unread page notifications

Change-Id: Ic2cd5e06ddf926da9fe9c924e5f46e0e4601fde9
This commit is contained in:
Moriel Schottlender 2015-10-01 13:35:35 -07:00
parent b69dfbbf0a
commit 29e7bd568d

View file

@ -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,