From c5af7171a5426414e8b7188ac3d411fc3b6bafc0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 30 May 2007 15:54:47 +0100 Subject: possible workaround for xmlhttp stucking on safari --- tt-rss.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tt-rss.js') diff --git a/tt-rss.js b/tt-rss.js index 215699c50..54e41d912 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -187,6 +187,9 @@ function scheduleFeedUpdate(force) { if (!xmlhttp_ready(xmlhttp_ctr) && last_refetch < date.getTime() / 1000 - 60) { debug("xmlhttp seems to be stuck, aborting"); xmlhttp_ctr.abort(); + if (is_safari()) { + xmlhttp_ctr = Ajax.getTransport(); + } } debug("REFETCH query: " + query_str); -- cgit v1.2.3