diff options
author | Andrew Dolgov <[email protected]> | 2005-09-07 08:33:33 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-09-07 08:33:33 +0100 |
commit | 310da49d2fe15daf318a10bb7e66abe00c78558a (patch) | |
tree | 78a21dac7470554d36545d802c55c6b4f165bdbc /tt-rss.js | |
parent | e828e31e83e8d487ad02fd9831690b8d113218fe (diff) |
fix bug in refetch_callback
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -62,12 +62,16 @@ function feedlist_callback() { function refetch_callback() { if (xmlhttp_rpc.readyState == 4) { - notify("All feeds updated."); - active_feed_id = frames["feeds-frame"].document.getElementById("ACTFEEDID").innerHTML; - + var actfeedid = frames["feeds-frame"].document.getElementById("ACTFEEDID"); + + if (actfeedid) { + active_feed_id = actfeedid.innerHTML; + } + document.title = "Tiny Tiny RSS"; - + notify("All feeds updated."); + updateFeedList(); } |