La classe de Danse - Edgar Degas

 

Résultats

render function for question type not found
render function for question type not found
render function for question type not found
render function for question type not found
render function for question type not found
render function for question type not found
render function for question type not found
render function for question type not found
render function for question type not found
render function for question type not found
Précédente
Finition

Laisser un commentaire

document.addEventListener('click', function(e) { const bouton = e.target.closest('.btn-ouvre-formulaire'); if (!bouton) return; const popupOeuvre = bouton.closest('.dialog-widget-content, .elementor-popup-modal, .elementor-location-popup'); if (!popupOeuvre) return; const titre = popupOeuvre.querySelector('.titre-oeuvre-modal .elementor-heading-title, .titre-oeuvre-modal'); if (!titre) return; const nomOeuvre = titre.textContent.trim(); sessionStorage.setItem('nom_oeuvre_modal', nomOeuvre); let essais = 0; const interval = setInterval(function() { const champ = document.querySelector('input[name="form_fields[oeuvre]"]'); if (champ) { champ.value = sessionStorage.getItem('nom_oeuvre_modal') || ''; clearInterval(interval); return; } essais++; if (essais >= 20) { clearInterval(interval); } }, 300); });