From: Andrew Dolgov Date: Fri, 22 Mar 2013 05:40:02 +0000 (+0400) Subject: fix tabs X-Git-Tag: 1.7.5~27 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d6cb94145945a47fc843ed9c25197b1ece40cdae;p=tt-rss.git fix tabs --- diff --git a/index.php b/index.php index 4669a208..570bba6d 100644 --- a/index.php +++ b/index.php @@ -53,7 +53,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <?php echo get_site_title() ?> + <?php echo get_site_title() ?> diff --git a/js/tt-rss.js b/js/tt-rss.js index 91aff8b6..b7bb9319 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -178,11 +178,11 @@ function search() { } function updateTitle() { - var tmp = document.title; - if (tmp.indexOf(")") > 0) - { - tmp = tmp.substr(tmp.indexOf(")") + 1); - } + var tmp = document.title; + + if (tmp.indexOf(")") > 0) { + tmp = tmp.substr(tmp.indexOf(")") + 1); + } if (global_unread > 0) { tmp = "(" + global_unread + ") " + tmp;