mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 00:14:40 +03:00
Fix Quirks Mode issue
Wrong thread error in Quirks Mode
This commit is contained in:
parent
5bbd730110
commit
73884f8069
@ -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('&','&').replace('<','<').replace('>','>').replace('"','"');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user