Skip to content

Commit

Permalink
Added support for the native AJAX object in IE 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Aug 31, 2006
1 parent e23c047 commit fb534ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ajax/ajax.js
Expand Up @@ -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 ?
Expand Down

0 comments on commit fb534ae

Please sign in to comment.