[autocomplete] touch too
This commit is contained in:
parent
a92d1ac7c5
commit
ec85a0bd76
1 changed files with 4 additions and 0 deletions
|
@ -105,6 +105,10 @@ function renderCompletions(element) {
|
|||
setCompletion(element, key);
|
||||
event.preventDefault();
|
||||
});
|
||||
li.addEventListener('touchstart', (event) => {
|
||||
setCompletion(element, key);
|
||||
event.preventDefault();
|
||||
});
|
||||
completions_el.appendChild(li);
|
||||
});
|
||||
|
||||
|
|
Reference in a new issue