1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 13:07:59 +01:00

Fix the completion list opening when it shouldn't.

This commit is contained in:
Kris Maglione
2011-02-01 19:03:50 -05:00
parent 4d26e38a94
commit 009772c8ec

View File

@@ -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);
},