diff --git a/public/dates.html b/public/dates.html
index 16d542f3..38c12433 100644
--- a/public/dates.html
+++ b/public/dates.html
@@ -66,6 +66,7 @@
+
diff --git a/public/script.js b/public/script.js
index ad90a9f5..f9647b9f 100644
--- a/public/script.js
+++ b/public/script.js
@@ -121,10 +121,14 @@ if($('#ajouterDesHoraires')) {
ajouterDesHoraires.addEventListener('change', () => {
if (ajouterDesHoraires.value == 'avec des') {
identiquesDifferentsPourChaqueJour.style.display = 'inline'
- $('.horaire-identique').style.display = 'inline'
+ $$('.horaire-identique').forEach((e) => {
+ e.style.display = 'inline'
+ });
} else {
identiquesDifferentsPourChaqueJour.style.display = 'none'
- $('.horaire-identique').style.display = 'none'
+ $$('.horaire-identique').forEach((e) => {
+ e.style.display = 'none'
+ });
}
});
}