mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 17:45:56 +00:00
display current feed in title (only in daemon mode for now)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user