diff options
author | Andrew Dolgov <[email protected]> | 2006-09-29 02:24:26 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-09-29 02:24:26 +0100 |
commit | 59cc876cecc5f4ecf950b5941d13d901d30227c1 (patch) | |
tree | a93e3892869697a892b9b87f70cefd627b6664e9 /viewfeed.js | |
parent | 8511f62fb36382d19c9b7742a5f31b20741088e6 (diff) |
abort xmlhttp on view/viewfeed
Diffstat (limited to 'viewfeed.js')
-rw-r--r-- | viewfeed.js | 2 |
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; |