mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
Fix invocation error
This commit is contained in:
parent
0f1b5644c1
commit
227bec0a0b
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ function listenAutocomplete() {
|
||||||
|
|
||||||
if (ac && (fetchedTerm.length >= acMinLength)) {
|
if (ac && (fetchedTerm.length >= acMinLength)) {
|
||||||
if (cache[fetchedTerm]) {
|
if (cache[fetchedTerm]) {
|
||||||
showAutocomplete(cache[fetchedTerm], event.target);
|
showAutocomplete(cache[fetchedTerm], fetchedTerm, event.target);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// inputField could get overwritten while the suggestions are being fetched - use event.target
|
// inputField could get overwritten while the suggestions are being fetched - use event.target
|
||||||
|
|
Loading…
Reference in a new issue