diff options
Diffstat (limited to 'src/client/app')
| -rw-r--r-- | src/client/app/common/views/components/reactions-viewer.details.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/app/common/views/components/reactions-viewer.details.vue b/src/client/app/common/views/components/reactions-viewer.details.vue index 728c58a704..4f1d14b77c 100644 --- a/src/client/app/common/views/components/reactions-viewer.details.vue +++ b/src/client/app/common/views/components/reactions-viewer.details.vue @@ -46,6 +46,10 @@ export default Vue.extend({ this.$nextTick(() => { const popover = this.$refs.popover as any; + if (this.source == null) { + this.destroyDom(); + return; + } const rect = this.source.getBoundingClientRect(); const x = rect.left + window.pageXOffset + (this.source.offsetWidth / 2); |