Commit 8d88cd59 authored by Michał Gołębiowski's avatar Michał Gołębiowski

Ajax: Rename Spartan to Edge in a comment

parent 61f812b7
...@@ -18,8 +18,8 @@ jQuery.ajaxSettings.xhr = window.ActiveXObject !== undefined ? ...@@ -18,8 +18,8 @@ jQuery.ajaxSettings.xhr = window.ActiveXObject !== undefined ?
// Support: IE 10-11 // Support: IE 10-11
// IE seems to error on cross-domain PATCH requests when ActiveX XHR // IE seems to error on cross-domain PATCH requests when ActiveX XHR
// is used. In IE 9+ always use the native XHR. // is used. In IE 9+ always use the native XHR.
// Note: this condition won't catch Spartan as it doesn't define // Note: this condition won't catch Edge as it doesn't define
// document.documentMode but it also doesn't have ActiveX so it won't // document.documentMode but it also doesn't support ActiveX so it won't
// reach this code. // reach this code.
if ( document.documentMode > 8 ) { if ( document.documentMode > 8 ) {
return createStandardXHR(); return createStandardXHR();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment