From e2cb4c6d7a4781469798fd5cf66ddb72e5d4a57c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 11 Feb 2006 05:34:15 +0100 Subject: [PATCH] cleanup title even if refetch_callback failed --- tt-rss.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tt-rss.js b/tt-rss.js index 6e2778882..0e71c0ecd 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(""); } } }