summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php2
-rw-r--r--js/tt-rss.js10
2 files changed, 6 insertions, 6 deletions
diff --git a/index.php b/index.php
index 4669a2080..570bba6d4 100644
--- a/index.php
+++ b/index.php
@@ -53,7 +53,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title><?php echo get_site_title() ?></title>
+ <title><?php echo get_site_title() ?></title>
<?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
<?php echo stylesheet_tag("tt-rss.css"); ?>
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 91aff8b68..b7bb9319b 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;