This commit is contained in:
ouidade 2024-09-25 18:54:35 +02:00
parent 0091cf26a3
commit d6b2bc3d10
2 changed files with 2 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -330,10 +330,8 @@
} }
// Enable/disable arrows based on the current slide // Enable/disable arrows based on the current slide
<<<<<<< HEAD
// document.getElementById('arrowPrev').disabled = false; // Always enabled now // document.getElementById('arrowPrev').disabled = false; // Always enabled now
// document.getElementById('arrowNext').disabled = false; // Always enabled now // document.getElementById('arrowNext').disabled = false; // Always enabled now
=======
// Attach event listeners // Attach event listeners
let arrowprev = document.getElementById('arrowPrev'); let arrowprev = document.getElementById('arrowPrev');
if (arrowprev) { if (arrowprev) {
@ -343,7 +341,6 @@
if (arrownext) { if (arrownext) {
arrownext.disabled = false; // Always enabled now arrownext.disabled = false; // Always enabled now
} }
>>>>>>> 6c2457bb060757b2098347e082eaa1c8e2b2d6a3
} }
// function prevSlide() { // function prevSlide() {
@ -354,12 +351,10 @@
// showSlides(currentSlide + 1); // showSlides(currentSlide + 1);
// } // }
<<<<<<< HEAD
// // Attach event listeners // // Attach event listeners
// document.getElementById('arrowPrev').addEventListener('click', prevSlide); // document.getElementById('arrowPrev').addEventListener('click', prevSlide);
// document.getElementById('arrowNext').addEventListener('click', nextSlide); // document.getElementById('arrowNext').addEventListener('click', nextSlide);
=======
// Attach event listeners // Attach event listeners
let arrowprev = document.getElementById('arrowPrev'); let arrowprev = document.getElementById('arrowPrev');
if (arrowprev) { if (arrowprev) {
@ -371,7 +366,6 @@
} }
>>>>>>> 6c2457bb060757b2098347e082eaa1c8e2b2d6a3
// Update month field to only show the first 3 letters // Update month field to only show the first 3 letters
document.querySelectorAll('.paragraph--type--phase-deroulement').forEach(function(paragraph) { document.querySelectorAll('.paragraph--type--phase-deroulement').forEach(function(paragraph) {
const monthField = paragraph.querySelector('.field_field_date_de_moi div:nth-of-type(2)'); const monthField = paragraph.querySelector('.field_field_date_de_moi div:nth-of-type(2)');