Merge branch 'revert-d6f9f34a' into 'develop'

Revert "Merge branch 'fix/no-autocomplete-in-non-post-forms' into 'develop'"

See merge request pleroma/pleroma-fe!581
This commit is contained in:
HJ 2019-02-14 19:15:03 +00:00
commit 98c5e4a9d0

View file

@ -126,7 +126,6 @@ const AutoCompleteInput = {
const candidate = this.candidates[this.highlighted]
const replacement = candidate.utf || (candidate.screen_name + ' ')
this.text = Completion.replaceWord(this.text, this.wordAtCaret, replacement)
this.$emit('input', this.text)
const el = this.$el.querySelector('textarea') || this.$el.querySelector('input')
el.focus()
this.caret = 0