From 73884f806953cb8723b5b956f0c7fc29bb5d5ad5 Mon Sep 17 00:00:00 2001 From: MrRemiB Date: Fri, 19 Dec 2014 15:00:06 +0100 Subject: [PATCH] Fix Quirks Mode issue Wrong thread error in Quirks Mode --- src/mibew/js/source/common.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/mibew/js/source/common.js b/src/mibew/js/source/common.js index bd0f0c19..2af88ac5 100644 --- a/src/mibew/js/source/common.js +++ b/src/mibew/js/source/common.js @@ -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('"','"'); -} \ No newline at end of file +}