diff --git a/src/components/Autocomplete.vue b/src/components/Autocomplete.vue index 21f40479388039b7307467cbeeb6f8c1794ae27e..cf464eca503e610cc2c20bb43fc04ce3c30d4551 100644 --- a/src/components/Autocomplete.vue +++ b/src/components/Autocomplete.vue @@ -150,7 +150,7 @@ } this.suggesting = true - if (!/[_*%|]/.test(q)) { + let self = this let params = {q, dict: self.get_lang(), n: 6, dform: 'int', meta: 'n', include: "e", wc: self.$parent.pos_selected} self.api.get('suggest?', {params}) @@ -175,10 +175,7 @@ } }) - } - else { - this.items = [{q, match: q, time}] - } + },