hide (0) from page title
This commit is contained in:
parent
efa195df5b
commit
855206feed
@ -796,7 +796,11 @@ var updateTitle = function() {
|
|||||||
prefix = "[NEW PM] "
|
prefix = "[NEW PM] "
|
||||||
}
|
}
|
||||||
|
|
||||||
document.title = prefix + hub_hubname + " ("+userlist.count()+")"
|
var suffix = "";
|
||||||
|
if (userlist.count() > 0) {
|
||||||
|
suffix = " ("+userlist.count()+")";
|
||||||
|
}
|
||||||
|
document.title = prefix + hub_hubname + suffix;
|
||||||
};
|
};
|
||||||
|
|
||||||
var sock = {};
|
var sock = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user