summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-02-12 09:36:20 +0100
committerAndrew Dolgov <[email protected]>2006-02-12 09:36:20 +0100
commit5a494a0bc9702c9340af4622253014fd8e8a9aa0 (patch)
treebc66a5305bcdecfa6797f1da9effa7cc600303fc
parent5b857464f4628ec97ae52f77effa8618bdd1ecd6 (diff)
disable previous patch
-rw-r--r--backend.php1
-rw-r--r--tt-rss.js4
2 files changed, 3 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index 16705f47a..30467d95a 100644
--- a/backend.php
+++ b/backend.php
@@ -1549,6 +1549,7 @@
print "<script type=\"text/javascript\">
document.onkeydown = hotkey_handler;
+ // if (parent.daemon_enabled) parent.updateTitle('$feed_title');
update_all_counters('$feed');
</script>";
diff --git a/tt-rss.js b/tt-rss.js
index 961c6df49..1e5573f90 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -342,7 +342,7 @@ function localHotkeyHandler(keycode) {
function updateTitle(s) {
var tmp = "Tiny Tiny RSS";
- if (s && s.length > 0) {
+ if (s != undefined) {
current_subtitle = s;
}
@@ -350,7 +350,7 @@ function updateTitle(s) {
tmp = tmp + " (" + global_unread + ")";
}
- if (s) {
+ if (current_subtitle) {
tmp = tmp + " - " + current_subtitle;
}