For the opening of the exhibition, the artists in the exhibition showed the full extent of their multiple talents on the wall of the Poulbot street in front of Espace Dalí.
Share This Post :
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);
});