1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 09:27:58 +01:00

Fix issue with empty 'autocomplete'.

This commit is contained in:
Kris Maglione
2011-01-29 15:50:44 -05:00
parent c579494d64
commit a661f5363b

View File

@@ -332,7 +332,7 @@ var CommandMode = Class("CommandMode", {
commandline.commandSession = this; commandline.commandSession = this;
if (this.command || stack.pop && commandline.command) { if (this.command || stack.pop && commandline.command) {
this.onChange(commandline.command); this.onChange(commandline.command);
if (this.completions) if (this.completions && options["autocomplete"].length)
this.completions.complete(true, false); this.completions.complete(true, false);
} }
}, },