fix
This commit is contained in:
parent
5c80710f8e
commit
36bed2c89f
|
@ -138,7 +138,7 @@ function play(player){
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
}};
|
}};
|
||||||
xhr.open("POST", document.getElementById('player' + player + 'URL').value, true);
|
xhr.open("POST", document.getElementById('url' + player).value, true);
|
||||||
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
||||||
xhr.send('game=connectFour&match_id=666-' + player + '&you=' + symbol + '&grid=' + JSON.stringify(grid) );
|
xhr.send('game=connectFour&match_id=666-' + player + '&you=' + symbol + '&grid=' + JSON.stringify(grid) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user