[autocomplete] touch too

This commit is contained in:
Shish 2023-12-26 04:18:40 +00:00
parent a92d1ac7c5
commit ec85a0bd76

View file

@ -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);
});