summaryrefslogtreecommitdiff
path: root/src/client/app
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-08-29 05:13:03 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-08-29 05:13:03 +0900
commit89d35c2e6379a99dedca31355a92c8735db69ba1 (patch)
tree1b413045c25f0f52ce9e078c18dfd4c01f8c0680 /src/client/app
parentFix animation not being performed on new reaction (#5345) (diff)
downloadsharkey-89d35c2e6379a99dedca31355a92c8735db69ba1.tar.gz
sharkey-89d35c2e6379a99dedca31355a92c8735db69ba1.tar.bz2
sharkey-89d35c2e6379a99dedca31355a92c8735db69ba1.zip
Fix bug
Diffstat (limited to 'src/client/app')
-rw-r--r--src/client/app/common/views/components/reactions-viewer.reaction.vue2
1 files changed, 2 insertions, 0 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 0676c44c7e..611a65a611 100644
--- a/src/client/app/common/views/components/reactions-viewer.reaction.vue
+++ b/src/client/app/common/views/components/reactions-viewer.reaction.vue
@@ -82,6 +82,8 @@ export default Vue.extend({
if (document.hidden) return;
this.$nextTick(() => {
+ if (this.$refs.icon == null) return;
+
const rect = this.$refs.icon.$el.getBoundingClientRect();
const x = rect.left;