diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2019-08-29 05:13:03 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-08-29 05:13:03 +0900 |
| commit | 89d35c2e6379a99dedca31355a92c8735db69ba1 (patch) | |
| tree | 1b413045c25f0f52ce9e078c18dfd4c01f8c0680 /src/client/app | |
| parent | Fix animation not being performed on new reaction (#5345) (diff) | |
| download | sharkey-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.vue | 2 |
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; |