Private
Public Access
bug fixes
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m25s
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m25s
This commit is contained in:
1 parent
ddc861ceac
commit
93491bd794
8 files changed
+281
-78
No files matched your search
+2
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user