UNDO: display current feed in title (only in daemon mode for now)

master
Andrew Dolgov 19 years ago
parent dcca5d13a0
commit 5b857464f4

@ -1549,7 +1549,6 @@
print "<script type=\"text/javascript\">
document.onkeydown = hotkey_handler;
if (parent.daemon_enabled) parent.updateTitle('$feed_title');
update_all_counters('$feed');
</script>";

@ -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;
}

Loading…
Cancel
Save