diff --git a/content.js b/content.js index 3c7a19c..904a9a0 100644 --- a/content.js +++ b/content.js @@ -64,6 +64,8 @@ class TabCompletion { ' ' + input.value.substring(input.selectionStart); input.selectionStart = start + this[`suggestion_${symbol}`].length + 2; input.selectionEnd = input.selectionStart; + + input.dispatchEvent(new Event('change', {'bubbles': true})); } }