le bouton "j'ai plus de 18 ans" fonctionne à nouveau

This commit is contained in:
Esenjin 2025-01-09 17:33:33 +01:00
parent abee696da8
commit 5037ec6982

View File

@ -133,15 +133,16 @@ $config = getSiteConfig();
<script>
// Gestion du contenu mature
function acceptMatureContent() {
document.body.classList.remove('content-blurred');
const warning = document.getElementById('mature-warning');
if (warning) {
warning.style.opacity = '0';
setTimeout(() => {
warning.style.display = 'none';
}, 300);
}
}
document.body.classList.remove('gallery-page-mature');
document.body.classList.remove('content-blurred');
const warning = document.getElementById('mature-warning');
if (warning) {
warning.style.opacity = '0';
setTimeout(() => {
warning.style.display = 'none';
}, 300);
}
}
</script>
<button class="scroll-top" title="Retour en haut"></button>
<script>