Merge pull request #57 from antsanchez/bugfix_mobile_menu
Fix: Hide mobile menu on button click
This commit is contained in:
@ -55,6 +55,7 @@ const toggleMobileMenu = () => {
|
|||||||
} else {
|
} else {
|
||||||
mobileMenu.style.animationName = 'bounceOutRight';
|
mobileMenu.style.animationName = 'bounceOutRight';
|
||||||
mobileMenu.style.webkitAnimationName = 'bounceOutRight'
|
mobileMenu.style.webkitAnimationName = 'bounceOutRight'
|
||||||
|
mobileMenu.style.display = 'none';
|
||||||
mobileMenuVisible = false;
|
mobileMenuVisible = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user