Fix animation for shareMenu

Signed-off-by: GitHub Action <action@github.com>
This commit is contained in:
GitHub Action
2024-03-29 16:04:28 +00:00
parent 3cb8e5aa79
commit 92a2d1b528

View File

@ -54,7 +54,7 @@ const toggleMobileMenu = () => {
mobileMenuVisible = true;
} else {
mobileMenu.style.animationName = 'bounceOutRight';
mobileMenu.style.webkitAnimationName = 'bounceOutRight'
mobileMenu.style.webkitAnimationName = 'bounceOutRight';
mobileMenu.style.display = 'none';
mobileMenuVisible = false;
}
@ -72,7 +72,8 @@ const shareMobileMenu = () => {
shareMenuVisible = true;
} else {
shareMenu.style.animationName = 'bounceOutRight';
shareMenu.style.webkitAnimationName = 'bounceOutRight'
shareMenu.style.webkitAnimationName = 'bounceOutRight';
shareMenu.style.display = 'none';
shareMenuVisible = false;
}
}