Skip to content

Commit

Permalink
Replaces typo (status instead of state) as observed in #9585.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaubourg committed Jun 30, 2011
1 parent e2ab2ba commit 5b92a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ajax.js
Expand Up @@ -727,7 +727,7 @@ jQuery.extend({
transport.send( requestHeaders, done );
} catch (e) {
// Propagate exception as error if not done
if ( status < 2 ) {
if ( state < 2 ) {
done( -1, e );
// Simply rethrow otherwise
} else {
Expand Down

0 comments on commit 5b92a5f

Please sign in to comment.