mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:15:56 +00:00
Feature #446 - Allow customizing page title
This commit is contained in:
@@ -178,7 +178,11 @@ function search() {
|
||||
}
|
||||
|
||||
function updateTitle() {
|
||||
var tmp = "Tiny Tiny RSS";
|
||||
var tmp = document.title;
|
||||
if (tmp.indexOf('(')>0)
|
||||
{
|
||||
tmp = tmp.substr(0,tmp.lastIndexOf('('));
|
||||
}
|
||||
|
||||
if (global_unread > 0) {
|
||||
tmp = tmp + " (" + global_unread + ")";
|
||||
|
||||
Reference in New Issue
Block a user