diff options
-rw-r--r-- | src/ajax.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js index 02322ab39..8aa6a9a12 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -457,7 +457,9 @@ jQuery.extend({ xhr.abort = function() { if ( xhr ) { oldAbort.call( xhr ); - xhr.readyState = 0; + if ( xhr ) { + xhr.readyState = 0; + } } onreadystatechange(); |