Compare commits

..

3 Commits

Author SHA1 Message Date
38862d1267 chore: Gedoppelten Link entfernt damit Demo realistischer wird.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/promote/spielwiese Build is passing
2024-03-22 23:40:20 +01:00
7fd4b25bf6 fix: Fix Standort-Highlighting auf Home.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/promote/spielwiese Build is passing
2024-03-22 23:31:56 +01:00
30439e8882 fix: Menü in mobile und PC-Version gesplittet.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/promote/spielwiese Build is passing
Etwas Overhead im Template, dafür weniger verschwurbelte Logik.
2024-03-22 23:19:48 +01:00

View File

@ -1,9 +1,9 @@
document.getElementsByClassName('primary_nav__toggle')[0].addEventListener('click', function(){ document.getElementsByClassName('primary_nav__toggle')[0].addEventListener('click', function(){
let mobile_nav_list = document.getElementsByClassName('primary_nav__mobile_navlist')[0] let nav_list = document.getElementsByClassName('primary_nav__navlist')[0]
if (mobile_nav_list.style.display === 'block') { if (nav_list.style.display === 'block') {
mobile_nav_list.style.display = 'none'; nav_list.style.display = 'none';
} else { } else {
mobile_nav_list.style.display = 'block'; nav_list.style.display = 'block';
} }
}); });