diff --git a/ext/autocomplete/script.js b/ext/autocomplete/script.js index 5c391439..6c26fa36 100644 --- a/ext/autocomplete/script.js +++ b/ext/autocomplete/script.js @@ -36,7 +36,7 @@ function updateCompletions(element) { clearTimeout(element.completer_timeout); element.completer_timeout = null; } - if(word === '') { + if(word === '' || word === '-') { element.completions = {}; renderCompletions(element); }