diff --git a/data/events.json b/data/events.json index 1fdfbb8..bef50b6 100644 --- a/data/events.json +++ b/data/events.json @@ -4,7 +4,7 @@ "title": "Italienische Tavolata", "location": "Luzern", "address": "Pilatusstrasse 18, 6003 Luzern", - "date": "17. Mai. 2026", + "date": "30. April 2026", "time": "15:30 UHR", "category": "Dinner", "diet": "Vegetarisch", diff --git a/event_detail.html b/event_detail.html index 6f1e3b5..7c92746 100644 --- a/event_detail.html +++ b/event_detail.html @@ -42,14 +42,12 @@ @@ -59,14 +57,13 @@ diff --git a/event_overview.html b/event_overview.html index d03f586..dfe0da5 100644 --- a/event_overview.html +++ b/event_overview.html @@ -102,11 +102,13 @@ @@ -114,7 +116,6 @@ diff --git a/js/event_overview.js b/js/event_overview.js index 46355c9..678eea6 100644 --- a/js/event_overview.js +++ b/js/event_overview.js @@ -778,7 +778,7 @@ // Info button modal behavior const infoButton = document.getElementById('info-button'); const infoModal = document.getElementById('info-modal'); - const modalClose = infoModal?.querySelector('modal-close'); + const modalClose = infoModal?.querySelector('.modal-close'); if (infoButton && infoModal) { infoButton.addEventListener('click', () => { @@ -828,3 +828,10 @@ function closeUnregisterModal() { modal.classList.remove('show'); } } + +function closeInfoModal() { + const modal = document.getElementById('info-modal'); + if (modal) { + modal.classList.remove('show'); + } +} diff --git a/my_profil.html b/my_profil.html index 6ecee48..57d248b 100644 --- a/my_profil.html +++ b/my_profil.html @@ -126,7 +126,6 @@