From: Andrew Dolgov Date: Sun, 12 Feb 2006 08:33:07 +0000 (+0100) Subject: UNDO: display current feed in title (only in daemon mode for now) X-Git-Tag: 1.1.3~23 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5b857464f4628ec97ae52f77effa8618bdd1ecd6;p=tt-rss.git UNDO: display current feed in title (only in daemon mode for now) --- diff --git a/backend.php b/backend.php index 28026bd1..16705f47 100644 --- a/backend.php +++ b/backend.php @@ -1549,7 +1549,6 @@ print ""; diff --git a/tt-rss.js b/tt-rss.js index 1e5573f9..961c6df4 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 != undefined) { + if (s && s.length > 0) { current_subtitle = s; } @@ -350,7 +350,7 @@ function updateTitle(s) { tmp = tmp + " (" + global_unread + ")"; } - if (current_subtitle) { + if (s) { tmp = tmp + " - " + current_subtitle; }