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:
@@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user