diff options
author | Oleg <markelog@gmail.com> | 2012-12-10 12:00:12 +0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-12-10 20:51:49 -0500 |
commit | d41b983259042d3a07ae785c09f71c68d9ce7c3f (patch) | |
tree | ed35cef17f3e4ee495b08dd25cad9f7012d2074e /src/ajax/xhr.js | |
parent | cef044d82ec0d338b2b69756d3ba08692fb80ae4 (diff) | |
download | jquery-d41b983259042d3a07ae785c09f71c68d9ce7c3f.tar.gz jquery-d41b983259042d3a07ae785c09f71c68d9ce7c3f.zip |
Fix #10417. setTimeout w/o 2nd arg is jQuery.later! Close gh-1065.
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r-- | src/ajax/xhr.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js index d00e1f125..3c1fde374 100644 --- a/src/ajax/xhr.js +++ b/src/ajax/xhr.js @@ -190,7 +190,7 @@ if ( xhrSupported ) { } else if ( xhr.readyState === 4 ) { // (IE6 & IE7) if it's in cache and has been // retrieved directly we need to fire the callback - setTimeout( callback, 0 ); + setTimeout( callback ); } else { handle = ++xhrId; if ( xhrOnUnloadAbort ) { |