aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/xhr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r--src/ajax/xhr.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js
index 313dff5dc..55d526a41 100644
--- a/src/ajax/xhr.js
+++ b/src/ajax/xhr.js
@@ -5,14 +5,6 @@ define([
], function( jQuery, support ) {
jQuery.ajaxSettings.xhr = function() {
- // Support: IE9+
- // IE can't get local files with standard XHR, only ActiveX
- if ( this.isLocal ) {
- try {
- return new ActiveXObject( "Microsoft.XMLHTTP" );
- } catch( e ) {}
- }
-
try {
return new XMLHttpRequest();
} catch( e ) {}