fix disable insertRadio

This commit is contained in:
Adrien MALINGREY 2023-03-31 01:35:47 +02:00
parent ac91453013
commit 80fa25c092

View File

@ -231,8 +231,11 @@ function enableRadio() {
} else {
radio.disabled = true
radio.label.title = `Tous les ${radio.value} sont posés.`
if (valueToInsert == radio.value)
if (valueToInsert == radio.value) {
insertRadio0.checked = true
valueToInsert = ""
grid.style.cursor = "text"
}
}
}
}