Skip to content
Permalink
Browse files

Make sure that the xhr object still exists after the abort is called.

  • Loading branch information
jeresig committed Jan 13, 2010
1 parent 1d8b3a9 commit b5f077ae6af6d644c5ae58ba9fd79a08dc58ba1e
Showing with 3 additions and 1 deletion.
  1. +3 −1 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();

0 comments on commit b5f077a

Please sign in to comment.
You can’t perform that action at this time.