diff --git a/truthinquiry/static/js/game.js b/truthinquiry/static/js/game.js index 6a4847e..0baba23 100644 --- a/truthinquiry/static/js/game.js +++ b/truthinquiry/static/js/game.js @@ -281,8 +281,9 @@ function renderAnswerSelectionPanel() { button.appendChild(document.createTextNode("Couplable")); - button.addEventListener("click", () => { + button.addEventListener("click", (event) => { disableCulpritButtons(culpritChoices, suspect); + event.target.textContent = "attente des autres joueurs..."; sendAnswers(); });