diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2019-08-29 05:20:27 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-08-29 05:20:27 +0900 |
| commit | 423f776ed0bbf9b7a13d64a0963a3d0b92a7faf3 (patch) | |
| tree | 885009f8a132ca8ad0adecb6c0903293a3d337e9 /src/client/app/common/views/components | |
| parent | Refactor reactions-viewer.vue (#5358) (diff) | |
| download | sharkey-423f776ed0bbf9b7a13d64a0963a3d0b92a7faf3.tar.gz sharkey-423f776ed0bbf9b7a13d64a0963a3d0b92a7faf3.tar.bz2 sharkey-423f776ed0bbf9b7a13d64a0963a3d0b92a7faf3.zip | |
Perform animation only when reaction is added (#5359)
Diffstat (limited to 'src/client/app/common/views/components')
| -rw-r--r-- | src/client/app/common/views/components/reactions-viewer.reaction.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/reactions-viewer.reaction.vue b/src/client/app/common/views/components/reactions-viewer.reaction.vue index 611a65a611..02ee87b093 100644 --- a/src/client/app/common/views/components/reactions-viewer.reaction.vue +++ b/src/client/app/common/views/components/reactions-viewer.reaction.vue @@ -49,8 +49,8 @@ export default Vue.extend({ if (!this.isInitial) this.anime(); }, watch: { - count() { - this.anime(); + count(newCount, oldCount) { + if (oldCount < newCount) this.anime(); }, }, methods: { |