From d41b983259042d3a07ae785c09f71c68d9ce7c3f Mon Sep 17 00:00:00 2001 From: Oleg Date: Mon, 10 Dec 2012 12:00:12 +0400 Subject: Fix #10417. setTimeout w/o 2nd arg is jQuery.later! Close gh-1065. --- src/ajax/xhr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ajax/xhr.js') 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 ) { -- cgit v1.2.3