diff --git a/src/components/status_action_buttons/action_button.js b/src/components/status_action_buttons/action_button.js index 4dc5f1bb3..193a96ee9 100644 --- a/src/components/status_action_buttons/action_button.js +++ b/src/components/status_action_buttons/action_button.js @@ -62,6 +62,7 @@ export default { 'extra', 'status', 'funcArg', + 'animationState', 'getClass', 'getComponent', 'doAction', @@ -72,9 +73,6 @@ export default { EmojiPicker, Popover }, - data: () => ({ - animationState: false - }), computed: { buttonClass () { return [ @@ -118,11 +116,7 @@ export default { if (button.name === 'emoji') { this.$refs.picker.showPicker() } else { - this.animationState = true this.getComponent(button) === 'button' && this.doAction(button) - setTimeout(() => { - this.animationState = false - }, 500) close() } } diff --git a/src/components/status_action_buttons/action_button.vue b/src/components/status_action_buttons/action_button.vue index 0e409afb8..b9dca8818 100644 --- a/src/components/status_action_buttons/action_button.vue +++ b/src/components/status_action_buttons/action_button.vue @@ -19,8 +19,7 @@