aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-06-30 18:18:44 +0200
committerjaubourg <j@ubourg.net>2011-07-01 00:16:34 +0200
commit5b92a5f5eccf69d480c11dbd2870f8161ae0441b (patch)
tree8e1e4ed7fe51c8b714ec75acf8bc170482b57e32 /src/ajax.js
parente2ab2ba1d51b47f90fd8022e500ea3df563e7d74 (diff)
downloadjquery-5b92a5f5eccf69d480c11dbd2870f8161ae0441b.tar.gz
jquery-5b92a5f5eccf69d480c11dbd2870f8161ae0441b.zip
Replaces typo (status instead of state) as observed in #9585.
Diffstat (limited to 'src/ajax.js')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index a16717b00..e4e48dc7b 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -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 {