This commit is contained in:
gnieark 2016-06-07 23:51:09 +02:00
parent 10fcf810bf
commit 59a8d47893

View File

@ -217,7 +217,7 @@ function play(player){
xhr.open("POST", document.getElementById('url' + player).value, false);
xhr.setRequestHeader("Content-Type", "application/json");
xhr.send(JSON.stringify(arrToSend) );
addlog('Message send to player ' + player + ': ' +JSON.stringify(arrToSend) );
addLog('Message send to player ' + player + ': ' +JSON.stringify(arrToSend) );
if(xhr.status == 200) {
try{
var reponse = JSON.parse(xhr.responseText);