summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-30 15:54:47 +0100
committerAndrew Dolgov <[email protected]>2007-05-30 15:54:47 +0100
commitc5af7171a5426414e8b7188ac3d411fc3b6bafc0 (patch)
treeae02a9f965b1c42d2129f34b80e9dc7fa3cb3ed9 /tt-rss.js
parent0239683783b6e4ddf793e08b56beaf4877d751e7 (diff)
possible workaround for xmlhttp stucking on safari
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js3
1 files changed, 3 insertions, 0 deletions
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("<b>xmlhttp seems to be stuck, aborting</b>");
xmlhttp_ctr.abort();
+ if (is_safari()) {
+ xmlhttp_ctr = Ajax.getTransport();
+ }
}
debug("REFETCH query: " + query_str);