diff options
Diffstat (limited to 'src/components/Composer/Composer.vue')
-rw-r--r-- | src/components/Composer/Composer.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Composer/Composer.vue b/src/components/Composer/Composer.vue index 0b43ce36..850e29de 100644 --- a/src/components/Composer/Composer.vue +++ b/src/components/Composer/Composer.vue @@ -301,7 +301,7 @@ export default { * @param {import('../../types/Mastodon.js').Account} account */ prefillMessageWithMention(account) { - if (!this.statusIsEmpty) { + if (!this.statusIsEmpty || this.$refs.composerInput === undefined) { return } @@ -413,6 +413,7 @@ export default { this.loading = false this.replyTo = null this.$refs.composerInput.innerText = '' + this.updateStatusContent() this.attachments = {} this.$store.dispatch('refreshTimeline') } |