mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 05:37:59 +01:00
Lowercasing term before running the auto-completion on it
This commit is contained in:
parent
c50abd597f
commit
0381409862
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ function listenAutocomplete() {
|
|||
return;
|
||||
}
|
||||
|
||||
originalTerm = selectedTerm[1];
|
||||
originalTerm = selectedTerm[1].toLowerCase();
|
||||
}
|
||||
else {
|
||||
originalTerm = `${inputField.value}`.toLowerCase();
|
||||
|
|
Loading…
Reference in a new issue