From 59cc876cecc5f4ecf950b5941d13d901d30227c1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 29 Sep 2006 02:24:26 +0100 Subject: abort xmlhttp on view/viewfeed --- feedlist.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'feedlist.js') 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; -- cgit v1.2.3