summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-29 02:24:26 +0100
committerAndrew Dolgov <[email protected]>2006-09-29 02:24:26 +0100
commit59cc876cecc5f4ecf950b5941d13d901d30227c1 (patch)
treea93e3892869697a892b9b87f70cefd627b6664e9 /feedlist.js
parent8511f62fb36382d19c9b7742a5f31b20741088e6 (diff)
abort xmlhttp on view/viewfeed
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/feedlist.js b/feedlist.js
index 0ad642a97..f0265178c 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -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;