]> git.wh0rd.org - tt-rss.git/blobdiff - feedlist.js
abort xmlhttp on view/viewfeed
[tt-rss.git] / feedlist.js
index 0ad642a97bc5b8369174b94ba7caa0f5919bf761..f0265178c7a724e162cae2103aab748419160223 100644 (file)
@@ -101,6 +101,8 @@ function viewfeed(feed, subop, is_cat, subop_param) {
 
                notify("Loading, please wait...", true);
 
+               xmlhttp.abort();
+
                if (xmlhttp_ready(xmlhttp)) {
                        xmlhttp.open("GET", query, true);
                        xmlhttp.onreadystatechange=headlines_callback;