This commit is contained in:
gnieark 2016-06-03 12:17:25 +02:00
parent 79538ebd81
commit c14b3435d0

View File

@ -150,7 +150,7 @@ function play(player){
}
//test format of response
var reg = r'/^[0-2]-[0-2]$/';
var reg = /^[0-2]-[0-2]$/;
if (!reg.test(cellTarget)){
addLog('player ' + player + ' a fait une réponse non conforme: ' + xhr.responseText);
return;