Private
Public Access
1
0

bug fixes
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m25s

This commit is contained in:
Sebastian Unterschütz
2025-11-25 21:31:04 +01:00
parent ddc861ceac
commit 93491bd794
8 changed files with 281 additions and 78 deletions

View File

@@ -145,12 +145,12 @@
function openModal(id) {
document.getElementById('modal-' + id).style.display = 'flex';
}
function closeModal() {
const modals = document.querySelectorAll('.modal-overlay');
modals.forEach(el => el.style.display = 'none');
}
// Schließen wenn man daneben klickt
window.onclick = function(event) {
if (event.target.classList.contains('modal-overlay')) {
closeModal();