From 009772c8ec1729cb1c40572ad8b81e1e0977c154 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 1 Feb 2011 19:03:50 -0500 Subject: [PATCH] Fix the completion list opening when it shouldn't. --- common/content/commandline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/commandline.js b/common/content/commandline.js index fb585e9c..69903353 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -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); },