From 4898d83fe8d43d718257d8435f337458becb4c89 Mon Sep 17 00:00:00 2001 From: Hannes Mannerheim Date: Wed, 17 Feb 2016 00:44:38 +0100 Subject: [PATCH] notification count in front of site title, makes it show even if the tab width is small --- js/misc-functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/misc-functions.js b/js/misc-functions.js index e8454c3..64b11fa 100644 --- a/js/misc-functions.js +++ b/js/misc-functions.js @@ -1307,7 +1307,7 @@ function displayOrHideUnreadNotifications(notifications) { if(totNotif>0) { $('#unseen-notifications').html(totNotif); - document.title = window.siteTitle + ' (' + totNotif + ')'; // update html page title + document.title = '(' + totNotif + ') ' + window.siteTitle; // update html page title $('#unseen-notifications').show(); } else {