diff --git a/code/serveur/php/ressources/createGame.js b/code/serveur/php/ressources/createGame.js index 63d43e0..822c83a 100644 --- a/code/serveur/php/ressources/createGame.js +++ b/code/serveur/php/ressources/createGame.js @@ -200,7 +200,8 @@ $(function() { else if (data != true) { $('input').removeAttr('disabled'); var that = $(this); - console.log("mot incorrect"); + + $.each(data,function(i,e) { $('.word') .filter(function() { return that.val() == e; })