disable previous patch

This commit is contained in:
Andrew Dolgov 2006-02-12 09:36:20 +01:00
parent 5b857464f4
commit 5a494a0bc9
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -342,7 +342,7 @@ function localHotkeyHandler(keycode) {
function updateTitle(s) { function updateTitle(s) {
var tmp = "Tiny Tiny RSS"; var tmp = "Tiny Tiny RSS";
if (s && s.length > 0) { if (s != undefined) {
current_subtitle = s; current_subtitle = s;
} }
@ -350,7 +350,7 @@ function updateTitle(s) {
tmp = tmp + " (" + global_unread + ")"; tmp = tmp + " (" + global_unread + ")";
} }
if (s) { if (current_subtitle) {
tmp = tmp + " - " + current_subtitle; tmp = tmp + " - " + current_subtitle;
} }