From c1528e598f81595ff699a12c3e566e9b66eaf3e3 Mon Sep 17 00:00:00 2001 From: riking Date: Fri, 27 Mar 2015 17:19:00 -0700 Subject: [PATCH] Use unreadCount in title --- .../discourse/controllers/background-notifications.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/controllers/background-notifications.js.es6 b/app/assets/javascripts/discourse/controllers/background-notifications.js.es6 index 46ab87d1a74..c056133269b 100644 --- a/app/assets/javascripts/discourse/controllers/background-notifications.js.es6 +++ b/app/assets/javascripts/discourse/controllers/background-notifications.js.es6 @@ -82,7 +82,7 @@ export default Discourse.Controller.extend({ bodyParts.push(I18n.t(self.i18nKey(n), i18nOpts)); }); - const notificationTitle = I18n.t('notifications.popup_title', { count: unseenCount, site_title: Discourse.SiteSettings.title }); + const notificationTitle = I18n.t('notifications.popup_title', { count: unreadCount, site_title: Discourse.SiteSettings.title }); const notificationBody = bodyParts.join("\n"); const notificationIcon = Discourse.SiteSettings.logo_small_url || Discourse.SiteSettings.logo_url; const notificationTag = self.get('notificationTagName');