aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHJ <spam@hjkos.com>2019-02-14 19:11:17 +0000
committerHJ <spam@hjkos.com>2019-02-14 19:11:17 +0000
commit8d7ac0e14cf4608e9751cae0c185ff81946b0da4 (patch)
tree745eec9df59bdc54ec85d077c5625e0a81573e71
parentdfecbe0ab741d3e892c109770a4898c79e165e3c (diff)
Revert "Merge branch 'fix/no-autocomplete-in-non-post-forms' into 'develop'"
This reverts merge request !573
-rw-r--r--src/components/autocomplete_input/autocomplete_input.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/components/autocomplete_input/autocomplete_input.js b/src/components/autocomplete_input/autocomplete_input.js
index 404a8cdb..2a959fd1 100644
--- a/src/components/autocomplete_input/autocomplete_input.js
+++ b/src/components/autocomplete_input/autocomplete_input.js
@@ -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