From 5d13e2744fc6fb8ca0f79223ed06d7d5c25b9555 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 8 Jan 2023 20:21:32 +0900 Subject: [PATCH] :art: --- packages/frontend/src/directives/click-anime.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/frontend/src/directives/click-anime.ts b/packages/frontend/src/directives/click-anime.ts index 3d070177bd..5cd54c7323 100644 --- a/packages/frontend/src/directives/click-anime.ts +++ b/packages/frontend/src/directives/click-anime.ts @@ -12,7 +12,6 @@ export default { target.classList.add('_anime_bounce_standBy'); el.addEventListener('mousedown', () => { - target.classList.remove('_anime_bounce_ready'); target.classList.remove('_anime_bounce'); target.classList.add('_anime_bounce_standBy'); @@ -25,10 +24,10 @@ export default { el.addEventListener('click', () => { target.classList.add('_anime_bounce'); + target.classList.remove('_anime_bounce_ready'); }); el.addEventListener('animationend', () => { - target.classList.remove('_anime_bounce_ready'); target.classList.remove('_anime_bounce'); target.classList.add('_anime_bounce_standBy'); });