mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 21:55:56 +00:00
Revert "update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title"
This reverts commit 8d051fa076.
This commit is contained in:
@@ -179,9 +179,9 @@ function search() {
|
||||
|
||||
function updateTitle() {
|
||||
var tmp = document.title;
|
||||
if (tmp.indexOf(")") > 0)
|
||||
if (tmp.indexOf('(')>0)
|
||||
{
|
||||
tmp = tmp.substr(tmp.indexOf(")") + 1);
|
||||
tmp = tmp.substr(0,tmp.lastIndexOf('('));
|
||||
}
|
||||
|
||||
if (global_unread > 0) {
|
||||
|
||||
Reference in New Issue
Block a user