Lowercasing term before running the auto-completion on it

This commit is contained in:
KoloMl 2024-06-03 21:42:58 +04:00
parent c50abd597f
commit 0381409862

View file

@ -229,7 +229,7 @@ function listenAutocomplete() {
return;
}
originalTerm = selectedTerm[1];
originalTerm = selectedTerm[1].toLowerCase();
}
else {
originalTerm = `${inputField.value}`.toLowerCase();