fix
This commit is contained in:
parent
ea9a3c8118
commit
aa69a493d5
|
@ -150,7 +150,7 @@ function play(player){
|
||||||
}
|
}
|
||||||
|
|
||||||
//test format of response
|
//test format of response
|
||||||
var reg = '/^[0-2]\-[0-2]$/';
|
var reg = '/^[0-2]-[0-2]$/';
|
||||||
if (!reg.test(cellTarget)){
|
if (!reg.test(cellTarget)){
|
||||||
addLog('player ' + player + ' a fait une réponse non conforme: ' + xhr.responseText);
|
addLog('player ' + player + ' a fait une réponse non conforme: ' + xhr.responseText);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user