mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
originalTerm = selectedTerm[1];
|
originalTerm = selectedTerm[1].toLowerCase();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
originalTerm = `${inputField.value}`.toLowerCase();
|
originalTerm = `${inputField.value}`.toLowerCase();
|
||||||
|
|
Loading…
Reference in a new issue