mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 12:08:00 +01:00
Merge pull request #272 from koloml/master
Minor fixes for the auto-completion
This commit is contained in:
commit
b9199c060d
2 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.autocomplete__item {
|
.autocomplete__item {
|
||||||
|
|
|
@ -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