From: Richard Beales Date: Thu, 21 Mar 2013 18:57:21 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/master' X-Git-Tag: 1.7.5~29^2~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=96f19f11d741617b997b4533df50ff8a5b17f46b;p=tt-rss.git Merge remote-tracking branch 'upstream/master' --- 96f19f11d741617b997b4533df50ff8a5b17f46b diff --cc js/tt-rss.js index c80e8737,eaa1f3da..1d6540db --- a/js/tt-rss.js +++ b/js/tt-rss.js @@@ -178,14 -178,10 +178,14 @@@ 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 + ")"; + tmp = "(" + global_unread + ") " + tmp; } if (window.fluid) {