Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/xapiwrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,8 @@ function isDate(date) {
}

//If it's not cross domain or we're not using IE, use the usual XmlHttpRequest
if (!xDomainRequest || typeof(XDomainRequest) === 'undefined') {
var windowsVersionCheck = window.XDomainRequest && (window.XMLHttpRequest && new XMLHttpRequest().responseType === undefined);
if (!xDomainRequest || windowsVersionCheck === undefined || windowsVersionCheck===false) {
xhr = new XMLHttpRequest();
xhr.open(method, url, callback != null);
for(var headerName in headers){
Expand Down