1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 23:15:57 +00:00

possible workaround for xmlhttp stucking on safari

This commit is contained in:
Andrew Dolgov
2007-05-30 15:54:47 +01:00
parent 0239683783
commit c5af7171a5
2 changed files with 6 additions and 0 deletions

View File

@@ -199,6 +199,9 @@ function view(id, feed_id, skip_history) {
if (!xmlhttp_ready(xmlhttp) && last_article_view < date.getTime() / 1000 - 15) {
debug("<b>xmlhttp seems to be stuck at view, aborting</b>");
xmlhttp.abort();
if (is_safari()) {
xmlhttp_ctr = Ajax.getTransport();
}
}
if (xmlhttp_ready(xmlhttp)) {