Fix Quirks Mode issue

Wrong thread error in Quirks Mode
This commit is contained in:
MrRemiB 2014-12-19 15:00:06 +01:00
parent 5bbd730110
commit 73884f8069

View File

@ -151,9 +151,10 @@ function $() {
var Ajax = {
getTransport: function() {
return Try.these(
function() {return new ActiveXObject('Msxml2.XMLHTTP')},
function() {return new ActiveXObject('Microsoft.XMLHTTP')},
function() {return new XMLHttpRequest()}
function () {return new XMLHttpRequest()},
function () {return new ActiveXObject("Msxml2.XMLHTTP")},
function () {return new ActiveXObject("Msxml3.XMLHTTP")},
function () {return new ActiveXObject("Microsoft.XMLHTTP")}
) || false;
},
@ -516,4 +517,4 @@ function playSound(wav_file) {
function htmlescape(str) {
return str.replace('&','&amp;').replace('<','&lt;').replace('>','&gt;').replace('"','&quot;');
}
}