table-success

This commit is contained in:
2023-03-30 21:26:14 +02:00
parent 8c62d6bb0e
commit ac91453013
3 changed files with 3 additions and 1 deletions

View File

@ -206,6 +206,7 @@ function checkBox(box) {
if (box.form.checkValidity()) { // Correct grid
if (boxes.filter(box => box.value == "").length == 0) {
grid.classList.add("table-success")
saveButton.disabled = true
setTimeout(() => {
if (confirm(`Bravo ! Vous avez résolu la grille. En voulez-vous une autre ?`))