diff --git a/functions.js b/functions.js index 5bf5e6973..77be7d407 100644 --- a/functions.js +++ b/functions.js @@ -308,7 +308,7 @@ if (!xmlhttp_rpc && typeof XMLHttpRequest!='undefined') { function label_counters_callback() { if (xmlhttp_rpc.readyState == 4) { - if (!xmlhttp.responseXML) { + if (!xmlhttp_rpc.responseXML) { notify("label_counters_callback: backend did not return valid XML"); return; } diff --git a/tt-rss.js b/tt-rss.js index 35b7c9fbe..919b0bd45 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -80,7 +80,7 @@ function refetch_callback() { if (!reply) { notify("refetch_callback: backend did not return expected XML object"); return; - } + } var f_document = window.frames["feeds-frame"].document;