This commit is contained in:
Adrien MALINGREY 2023-11-25 22:38:03 +01:00
parent ddc1a51899
commit 853d93f8ff

View File

@ -303,8 +303,7 @@ function onmouseleave(event) {
if (sightCheckbox.checked){ if (sightCheckbox.checked){
box = event.target box = event.target
box.andNeighbourhood.forEach(neighbour => { box.andNeighbourhood.forEach(neighbour => {
neighbour.parentElement.classList.remove("table-active") neighbour.parentElement.classList.remove("table-active", "table-danger", "not-allowed")
neighbour.parentElement.classList.remove("table-danger", "not-allowed")
}) })
} }
} }