mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-20 13:35:41 +02:00
Fix the completion list opening when it shouldn't.
This commit is contained in:
1 parent
4d26e38a94
commit
009772c8ec
1 file changed
+1
-1
@@ -322,7 +322,7 @@ var CommandMode = Class("CommandMode", {
|
|||||||
this.widgets.prompt = this.prompt;
|
this.widgets.prompt = this.prompt;
|
||||||
this.widgets.command = command || "";
|
this.widgets.command = command || "";
|
||||||
|
|
||||||
if (this.completions && options["autocomplete"].length)
|
if (this.completions && command && options["autocomplete"].length)
|
||||||
this.completions.complete(true, false);
|
this.completions.complete(true, false);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user