mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Make sure that the xhr object still exists after the abort is called.
This commit is contained in:
@@ -457,7 +457,9 @@ jQuery.extend({
|
||||
xhr.abort = function() {
|
||||
if ( xhr ) {
|
||||
oldAbort.call( xhr );
|
||||
xhr.readyState = 0;
|
||||
if ( xhr ) {
|
||||
xhr.readyState = 0;
|
||||
}
|
||||
}
|
||||
|
||||
onreadystatechange();
|
||||
|
||||
Reference in New Issue
Block a user