Case insensitive suggestions
This commit is contained in:
parent
a23e49c9f3
commit
4c356cbeb4
2 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue