notification count in front of site title, makes it show even if the tab width is small
This commit is contained in:
parent
a6fbae5938
commit
4898d83fe8
|
@ -1307,7 +1307,7 @@ function displayOrHideUnreadNotifications(notifications) {
|
||||||
|
|
||||||
if(totNotif>0) {
|
if(totNotif>0) {
|
||||||
$('#unseen-notifications').html(totNotif);
|
$('#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();
|
$('#unseen-notifications').show();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user