Line 89: | Line 89: | ||
</div> | </div> | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</body> | </body> | ||
Line 258: | Line 253: | ||
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"); | ||
+ | menuBtn.classList.remove('open'); | ||
+ | menuOpen = true; | ||
} | } |
Revision as of 23:08, 29 August 2021