Fix textcomplete reference in autocompletion.disable
This commit is contained in:
parent
ffa9685b41
commit
b765abcb65
@ -16,7 +16,11 @@ module.exports = {
|
||||
disable: () => {
|
||||
input.unbind("input.tabcomplete");
|
||||
Mousetrap(input.get(0)).unbind("tab", "keydown");
|
||||
|
||||
if (textcomplete) {
|
||||
textcomplete.destroy();
|
||||
textcomplete = null;
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user