]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
possible workaround for xmlhttp stucking on safari
[tt-rss.git] / tt-rss.js
index 215699c5094e8b72ccbe73bf86c18cb137b68633..54e41d912c17ea921c43bfef2d173277ad8f9099 100644 (file)
--- 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);