diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-17 14:17:09 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-17 14:17:09 +0000 |
commit | 32f688d303ed3cbb942df421c5bb2ed7a5d5244c (patch) | |
tree | b910dc0f411b6fc7b0a7b437b3ad0d3200587883 /src/ajax/ajax.js | |
parent | b98898d95be5cb7bb8b9fdb0d8a2595fc8d9cdf9 (diff) | |
download | jquery-32f688d303ed3cbb942df421c5bb2ed7a5d5244c.tar.gz jquery-32f688d303ed3cbb942df421c5bb2ed7a5d5244c.zip |
Simplified check for XMLHttpRequest (saving a few bytes) and fixed load()-test
Diffstat (limited to 'src/ajax/ajax.js')
-rw-r--r-- | src/ajax/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js index 87fe73b94..9c94e13d3 100644 --- a/src/ajax/ajax.js +++ b/src/ajax/ajax.js @@ -132,7 +132,7 @@ jQuery.fn.extend({ }); // If IE is used, create a wrapper for the XMLHttpRequest object -if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" ) +if ( !window.XMLHttpRequest ) XMLHttpRequest = function(){ return new ActiveXObject("Microsoft.XMLHTTP"); }; |