drop_menu_comming_back #241
@ -1,5 +1,5 @@
|
|||||||
document.getElementsByClassName('primary_nav__toggle')[0].addEventListener('click', function(){
|
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') {
|
if (nav_list.style.display === 'block') {
|
||||||
nav_list.style.display = 'none';
|
nav_list.style.display = 'none';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user