chore: var durch let ersetzt.
This commit is contained in:
parent
c7583caeb8
commit
07df68f87d
@ -1,5 +1,5 @@
|
||||
document.getElementsByClassName('primary_nav__toggle')[0].addEventListener('click', function(){
|
||||
var nav_list = document.getElementsByClassName('primary_nav__navlist')[0]
|
||||
let nav_list = document.getElementsByClassName('primary_nav__navlist')[0]
|
||||
if (nav_list.style.display === 'block') {
|
||||
nav_list.style.display = 'none';
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user