mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 07:07:58 +01:00
Fix the completion list opening when it shouldn't.
This commit is contained in:
@@ -322,7 +322,7 @@ var CommandMode = Class("CommandMode", {
|
||||
this.widgets.prompt = this.prompt;
|
||||
this.widgets.command = command || "";
|
||||
|
||||
if (this.completions && options["autocomplete"].length)
|
||||
if (this.completions && command && options["autocomplete"].length)
|
||||
this.completions.complete(true, false);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user