Commit 61983cbf authored by jeresig's avatar jeresig

Make sure oldAbort is only called if the xhr object still exists.

parent 67769203
......@@ -455,9 +455,8 @@ jQuery.extend({
try {
var oldAbort = xhr.abort;
xhr.abort = function() {
oldAbort.call( xhr );
if ( xhr ) {
oldAbort.call( xhr );
xhr.readyState = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment