diff --git a/app/static/js/navigation.js b/app/static/js/navigation.js index a9ddfe1..595989a 100644 --- a/app/static/js/navigation.js +++ b/app/static/js/navigation.js @@ -25,7 +25,6 @@ document.addEventListener('DOMContentLoaded', () => { // Öffnen und Position anpassen beim Klicken item.addEventListener('click', (e) => { - e.preventDefault(); // Verhindert die Standardaktion e.stopPropagation(); // Verhindert das Schließen von Menüs bei Klick if (item.classList.contains('open')) { closeMenu(item); diff --git a/app/templates/moduls/navigation.html.j2 b/app/templates/moduls/navigation.html.j2 index 672de73..3d5e079 100644 --- a/app/templates/moduls/navigation.html.j2 +++ b/app/templates/moduls/navigation.html.j2 @@ -11,7 +11,7 @@ {% for children in children %} {% if children.children %}