This commit is contained in:
gnieark 2016-05-14 23:12:58 +02:00
parent 7749370b4b
commit 637ef5d089

View File

@ -41,7 +41,7 @@ function connectFour(bot1,bot2,xd_check, newGame){
xhr.onreadystatechange = function(){if(xhr.readyState == 4){ xhr.onreadystatechange = function(){if(xhr.readyState == 4){
if(xhr.status == 200) { if(xhr.status == 200) {
//for debug //for debug
alert xhr.responseText; alert (xhr.responseText);
return; return;
try{ try{
var reponse = JSON.parse(xhr.responseText); var reponse = JSON.parse(xhr.responseText);