Make sure that the xhr object still exists after the abort is called.
This commit is contained in:
parent
1d8b3a9af2
commit
b5f077ae6a
|
@ -457,7 +457,9 @@ jQuery.extend({
|
|||
xhr.abort = function() {
|
||||
if ( xhr ) {
|
||||
oldAbort.call( xhr );
|
||||
xhr.readyState = 0;
|
||||
if ( xhr ) {
|
||||
xhr.readyState = 0;
|
||||
}
|
||||
}
|
||||
|
||||
onreadystatechange();
|
||||
|
|
Loading…
Reference in a new issue