git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e23c047
)
Added support for the native AJAX object in IE 7.
author
John Resig
<jeresig@gmail.com>
Thu, 31 Aug 2006 06:30:44 +0000
(06:30 +0000)
committer
John Resig
<jeresig@gmail.com>
Thu, 31 Aug 2006 06:30:44 +0000
(06:30 +0000)
src/ajax/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax/ajax.js
b/src/ajax/ajax.js
index
e9580aa
..
2864c20
100644
(file)
--- 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 ?