diff --git a/ext/autocomplete/script.js b/ext/autocomplete/script.js index fcb325c1..bcf40359 100644 --- a/ext/autocomplete/script.js +++ b/ext/autocomplete/script.js @@ -28,7 +28,9 @@ function getCurrentWord(element) { * @param {HTMLInputElement} element */ function updateCompletions(element) { - highlightCompletion(element, -1); + // Reset selction, but no need to validate and re-render + // highlightCompletion(element, -1); + element.selected_completion = -1; // get the word before the cursor var word = getCurrentWord(element);