notification count in front of site title, makes it show even if the tab width is small

This commit is contained in:
Hannes Mannerheim 2016-02-17 00:44:38 +01:00
parent a6fbae5938
commit 4898d83fe8

View File

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