From fb534aea034c9b832b484e6dd26bd2e86f029433 Mon Sep 17 00:00:00 2001 From: John Resig Date: Thu, 31 Aug 2006 06:30:44 +0000 Subject: [PATCH] Added support for the native AJAX object in IE 7. --- src/ajax/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js index e9580aa8..2864c209 100644 --- a/src/ajax/ajax.js +++ b/src/ajax/ajax.js @@ -58,7 +58,7 @@ jQuery.fn.load = function( url, params, callback, ifModified ) { }; // If IE is used, create a wrapper for the XMLHttpRequest object -if ( jQuery.browser.msie ) +if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" ) XMLHttpRequest = function(){ return new ActiveXObject( navigator.userAgent.indexOf("MSIE 5") >= 0 ?