Case insensitive suggestions
This commit is contained in:
@ -42,6 +42,8 @@
|
||||
|
||||
function getSuggestions(input, trie) {
|
||||
// Follow the trie through the provided input
|
||||
input = input.toLowerCase();
|
||||
|
||||
input.split("").forEach((letter) => {
|
||||
if (!trie) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user