summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;