🎨
This commit is contained in:
@@ -12,7 +12,6 @@ export default {
|
|||||||
target.classList.add('_anime_bounce_standBy');
|
target.classList.add('_anime_bounce_standBy');
|
||||||
|
|
||||||
el.addEventListener('mousedown', () => {
|
el.addEventListener('mousedown', () => {
|
||||||
target.classList.remove('_anime_bounce_ready');
|
|
||||||
target.classList.remove('_anime_bounce');
|
target.classList.remove('_anime_bounce');
|
||||||
|
|
||||||
target.classList.add('_anime_bounce_standBy');
|
target.classList.add('_anime_bounce_standBy');
|
||||||
@@ -25,10 +24,10 @@ export default {
|
|||||||
|
|
||||||
el.addEventListener('click', () => {
|
el.addEventListener('click', () => {
|
||||||
target.classList.add('_anime_bounce');
|
target.classList.add('_anime_bounce');
|
||||||
|
target.classList.remove('_anime_bounce_ready');
|
||||||
});
|
});
|
||||||
|
|
||||||
el.addEventListener('animationend', () => {
|
el.addEventListener('animationend', () => {
|
||||||
target.classList.remove('_anime_bounce_ready');
|
|
||||||
target.classList.remove('_anime_bounce');
|
target.classList.remove('_anime_bounce');
|
||||||
target.classList.add('_anime_bounce_standBy');
|
target.classList.add('_anime_bounce_standBy');
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user