From ec85a0bd763f9bf4fb19b2eaaf50aaef165ed731 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 26 Dec 2023 04:18:40 +0000 Subject: [PATCH] [autocomplete] touch too --- ext/autocomplete/script.js | 4 ++++ 1 file changed, 4 insertions(+) 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); });