Hide the ; before emotes in autocomplete and add the case insensitive flag

This commit is contained in:
Samuel Elliott 2018-05-29 17:00:05 +01:00
parent 0e99b219c1
commit c3ff71ff85
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 2 additions and 2 deletions

View File

@ -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) {