]> git.wh0rd.org - tt-rss.git/commitdiff
disable previous patch
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 12 Feb 2006 08:36:20 +0000 (09:36 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 12 Feb 2006 08:36:20 +0000 (09:36 +0100)
backend.php
tt-rss.js

index 16705f47a26800a45b0e7a61739e7743a0b87bed..30467d95a3834dc06e9f54c4962d8beefabd3c76 100644 (file)
 
                print "<script type=\"text/javascript\">
                        document.onkeydown = hotkey_handler;
+                       // if (parent.daemon_enabled) parent.updateTitle('$feed_title');
                        update_all_counters('$feed');
                </script>";
        
index 961c6df495b0c96855e779ff2f9c24dd3150c207..1e5573f902226b98567c741639b7c28ec5fb466a 100644 (file)
--- 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;
        }