diff --git a/ext/autocomplete/script.js b/ext/autocomplete/script.js index 2ae1936aa..5f5f50637 100644 --- a/ext/autocomplete/script.js +++ b/ext/autocomplete/script.js @@ -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); });