Created
March 17, 2009 07:50
-
-
Save crossblaim/80392 to your computer and use it in GitHub Desktop.
Workaround for safari never ending loading issue with Orbited
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Workaround for safari never ending loading issue with Orbited | |
var orig_chooseTransport = Orbited.util.chooseTransport; | |
Orbited.util.chooseTransport = function() { | |
if (BrowserDetect.browser == "Safari") { | |
// This will be the default transport in future versions of Orbited | |
return Orbited.CometTransports.LongPoll | |
} | |
return orig_chooseTransport(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment