From: Andrew Dolgov Date: Sat, 11 Feb 2006 04:34:15 +0000 (+0100) Subject: cleanup title even if refetch_callback failed X-Git-Tag: 1.1.3~52 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e2cb4c6d7a4781469798fd5cf66ddb72e5d4a57c;p=tt-rss.git cleanup title even if refetch_callback failed --- diff --git a/tt-rss.js b/tt-rss.js index 6e277888..0e71c0ec 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -110,6 +110,7 @@ function refetch_callback() { if (!reply) { notify("refetch_callback: backend did not return expected XML object"); + updateTitle(""); return; } @@ -127,6 +128,7 @@ function refetch_callback() { notify("All feeds updated."); } catch (e) { exception_error("refetch_callback", e); + updateTitle(""); } } }