diff --git a/src/renderer/components/TimelineSpace/Modals/NewToot.vue b/src/renderer/components/TimelineSpace/Modals/NewToot.vue index cfff2fb3..fc4abef8 100644 --- a/src/renderer/components/TimelineSpace/Modals/NewToot.vue +++ b/src/renderer/components/TimelineSpace/Modals/NewToot.vue @@ -2,6 +2,7 @@ { - this.statusHeight = this.statusHeight - this.$refs.preview.offsetHeight + if (this.$refs.preview) { + this.statusHeight = this.statusHeight - this.$refs.preview.offsetHeight + } }) }, watch: {