Fix minor typo in enableLiveAutocomplete

This commit is contained in:
Aaron O'Mullan 2014-02-08 02:18:52 +01:00
commit 297c05831e

View file

@ -186,7 +186,7 @@ require("../config").defineOptions(Editor.prototype, "editor", {
// On each change automatically trigger the autocomplete
this.commands.on('afterExec', doLiveAutocomplete);
} else {
this.removeListener('afterExec', doLiveAutocomplete);
this.commands.removeListener('afterExec', doLiveAutocomplete);
}
},
value: false