This commit is contained in:
gnieark 2016-05-14 23:12:23 +02:00
parent 580c084bdf
commit 7749370b4b

View File

@ -40,6 +40,9 @@ function connectFour(bot1,bot2,xd_check, newGame){
var xhr = Ajx(); var xhr = Ajx();
xhr.onreadystatechange = function(){if(xhr.readyState == 4){ xhr.onreadystatechange = function(){if(xhr.readyState == 4){
if(xhr.status == 200) { if(xhr.status == 200) {
//for debug
alert xhr.responseText;
return;
try{ try{
var reponse = JSON.parse(xhr.responseText); var reponse = JSON.parse(xhr.responseText);
}catch(e){ }catch(e){