summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-02-12 09:33:07 +0100
committerAndrew Dolgov <[email protected]>2006-02-12 09:33:07 +0100
commitdcca5d13a0404ee3a7365cf4c5d55586559cb481 (patch)
treef3f37f8100081b275f469af600775972ae1e80af /tt-rss.js
parent9da1e3be20abfc6b37f4a0d0af0c02aa54a05da9 (diff)
display current feed in title (only in daemon mode for now)
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js4
1 files changed, 2 insertions, 2 deletions
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;
}