diff options
author | Andrew Dolgov <[email protected]> | 2013-03-22 09:36:47 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-22 09:36:47 +0400 |
commit | 707ad6ddf7b199e202fc39f61ffd08a4bc5bacc1 (patch) | |
tree | e5ebbb40023ccb6da991a649acc22c7ff89e6b37 /js/tt-rss.js | |
parent | 3972bf598195efba3e73ae1fef3faceabeb50308 (diff) | |
parent | 8d051fa0769922df69ac737eee9d13dff67095a9 (diff) |
Merge branch 'master' of git://github.com/richbeales/Tiny-Tiny-RSS into richbeales-master
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index eaa1f3daf..91aff8b68 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -178,7 +178,11 @@ function search() { } function updateTitle() { - var tmp = "Tiny Tiny RSS"; + var tmp = document.title; + if (tmp.indexOf(")") > 0) + { + tmp = tmp.substr(tmp.indexOf(")") + 1); + } if (global_unread > 0) { tmp = "(" + global_unread + ") " + tmp; |