aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/ajax.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2007-01-17 14:17:09 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2007-01-17 14:17:09 +0000
commit32f688d303ed3cbb942df421c5bb2ed7a5d5244c (patch)
treeb910dc0f411b6fc7b0a7b437b3ad0d3200587883 /src/ajax/ajax.js
parentb98898d95be5cb7bb8b9fdb0d8a2595fc8d9cdf9 (diff)
downloadjquery-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.js2
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");
};