le bouton "j'ai plus de 18 ans" fonctionne à nouveau
This commit is contained in:
parent
abee696da8
commit
5037ec6982
19
galeries.php
19
galeries.php
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user