added a little wait message on emotion and culprit choosing page

This commit is contained in:
Djalim Simaila 2023-04-02 14:57:55 +02:00
parent 7c16615c79
commit 019a4f9bc1

View File

@ -281,8 +281,9 @@ function renderAnswerSelectionPanel() {
button.appendChild(document.createTextNode("Couplable")); button.appendChild(document.createTextNode("Couplable"));
button.addEventListener("click", () => { button.addEventListener("click", (event) => {
disableCulpritButtons(culpritChoices, suspect); disableCulpritButtons(culpritChoices, suspect);
event.target.textContent = "attente des autres joueurs...";
sendAnswers(); sendAnswers();
}); });