summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 9cc3aa390..5159a57f6 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -54,6 +54,8 @@ function view(id, feed_id) {
var query = "backend.php?op=view&id=" + param_escape(id) +
"&feed=" + param_escape(feed_id);
+ xmlhttp.abort();
+
if (xmlhttp_ready(xmlhttp)) {
xmlhttp.open("GET", query, true);
xmlhttp.onreadystatechange=article_callback;