Line 187: | Line 187: | ||
if($(document).scrollTop() > 20){//Here 200 may be not be exactly 200px | if($(document).scrollTop() > 20){//Here 200 may be not be exactly 200px | ||
document.querySelector(".menu").classList.add("menu_hidden"); | document.querySelector(".menu").classList.add("menu_hidden"); | ||
− | document.querySelector('.menu-close').classList. | + | document.querySelector('.menu-close').classList.remove('open'); |
− | menuOpen = | + | menuOpen = true; |
} | } | ||
}); | }); |
Revision as of 16:17, 29 August 2021