v
This commit is contained in:
@@ -679,19 +679,6 @@ $activeChildId = $menuData['child'];
|
||||
}, 1000); // Attendre 1s que tout soit initialisé
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const observer = new MutationObserver(() => {
|
||||
document.querySelectorAll('.modal').forEach(m => {
|
||||
if (m.parentNode !== document.body) {
|
||||
document.body.appendChild(m);
|
||||
}
|
||||
});
|
||||
});
|
||||
observer.observe(document.body, { childList: true, subtree: true });
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user