From dcca5d13a0404ee3a7365cf4c5d55586559cb481 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Feb 2006 09:33:07 +0100 Subject: [PATCH] display current feed in title (only in daemon mode for now) --- backend.php | 1 + tt-rss.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend.php b/backend.php index 16705f47..28026bd1 100644 --- a/backend.php +++ b/backend.php @@ -1549,6 +1549,7 @@ print ""; diff --git a/tt-rss.js b/tt-rss.js index 961c6df4..1e5573f9 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; } -- 2.39.5