Correction erreur masquage durée amortissement

This commit is contained in:
Jean-Christophe Engel 2026-06-18 11:04:10 +02:00
parent e6fb335e4c
commit af24d6095e

View file

@ -12,9 +12,10 @@ function toggleInputs(idcb, idfields) {
}
}
function toggleVisibility(idcheck, fields) {
const elem = document.getElementById(idcheck);
fields.forEach(function (field) {
function toggleVisibility(id_check, fields) {
const elem = document.getElementById(id_check);
fields.forEach(function (id_field) {
const field = document.getElementById(id_field);
if (elem.checked) {
field.classList.remove('hidden');
} else {