From c3ff71ff852d65af5f49f219c034701989207a60 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Tue, 29 May 2018 17:00:05 +0100 Subject: [PATCH] Hide the ; before emotes in autocomplete and add the case insensitive flag --- client/src/ui/components/common/Autocomplete.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/ui/components/common/Autocomplete.vue b/client/src/ui/components/common/Autocomplete.vue index 8eea6541..8c66d0b8 100644 --- a/client/src/ui/components/common/Autocomplete.vue +++ b/client/src/ui/components/common/Autocomplete.vue @@ -129,8 +129,8 @@ this.reset(); return; } - this.title = this.sterm; - this.emotes = EmoteModule.filter(new RegExp(this.sterm.substr(1), ''), 10); + this.title = this.sterm.substr(1); + this.emotes = EmoteModule.filter(new RegExp(this.sterm.substr(1), 'i'), 10); this.open = this.emotes.length; }, traverse(e) {