Fix invocation error

This commit is contained in:
byte[] 2021-11-16 20:20:55 -05:00
parent 0f1b5644c1
commit 227bec0a0b

View file

@ -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