mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +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 (cache[fetchedTerm]) {
|
||||
showAutocomplete(cache[fetchedTerm], event.target);
|
||||
showAutocomplete(cache[fetchedTerm], fetchedTerm, event.target);
|
||||
}
|
||||
else {
|
||||
// inputField could get overwritten while the suggestions are being fetched - use event.target
|
||||
|
|
Loading…
Reference in a new issue