diff --git a/modules/viewmodel/mw.echo.dm.NotificationsModel.js b/modules/viewmodel/mw.echo.dm.NotificationsModel.js index f51bc73c4..229df798d 100644 --- a/modules/viewmodel/mw.echo.dm.NotificationsModel.js +++ b/modules/viewmodel/mw.echo.dm.NotificationsModel.js @@ -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,