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