Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

A fix for older browsers #171

Closed
prsephton opened this Issue · 0 comments

2 participants

@prsephton

In short: firefox 3.0.6 + jquery 1.7.1 don't understand getDoc(io).readyState. Almost certainly browser related.

So, checkState() always ends up in a server abort (throws type error). The following fixes the problem:

// look for server aborts
function checkState() {
try {
var state = getDoc(io).readyState;
if (state) {
log('state = ' + state);
if (state.toLowerCase() == 'uninitialized')
setTimeout(checkState,50);

}
}
catch(e) {
...
}
}

Great plugin. Thanks!

@malsup malsup referenced this issue from a commit
@malsup v2.98. fix for issue #171 c05a15c
@malsup malsup closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.