mirror of
				https://github.com/kevinveenbirkenbach/homepage.veen.world.git
				synced 2025-10-31 15:39:02 +00:00 
			
		
		
		
	Removed link opening bug
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
| @@ -11,7 +11,7 @@ | ||||
|     {% for children in children %} | ||||
|         {% if children.children %} | ||||
|             <li class="dropdown-submenu position-relative"> | ||||
|                 <a class="dropdown-item dropdown-toggle" href="#" title="{{ children.description }}"> | ||||
|                 <a class="dropdown-item dropdown-toggle" title="{{ children.description }}"> | ||||
|                     {{ render_icon_and_name(children) }} | ||||
|                 </a> | ||||
|                 <ul class="dropdown-menu"> | ||||
| @@ -53,7 +53,7 @@ | ||||
|                     {% else %} | ||||
|                         <!-- Dropdown Menu --> | ||||
|                         <li class="nav-item dropdown"> | ||||
|                             <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown{{ loop.index }}" role="button" data-bs-toggle="dropdown" data-bs-display="dynamic" aria-expanded="false"> | ||||
|                             <a class="nav-link dropdown-toggle" id="navbarDropdown{{ loop.index }}" role="button" data-bs-toggle="dropdown" data-bs-display="dynamic" aria-expanded="false"> | ||||
|                                 {% if item.icon is defined and item.icon.class is defined %} | ||||
|                                     {{ render_icon_and_name(item) }} | ||||
|                                 {% else %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user