From f3304401380946743e870c2e3742952f54da5b9f Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 28 Dec 2010 19:22:32 -0500 Subject: [PATCH] Fix minor completion bug. --- common/content/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/commands.js b/common/content/commands.js index ea26975d..ef439bb1 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -887,7 +887,7 @@ var Commands = Module("commands", { arg = opt.type.parse(arg, quoted); if (complete && isArray(arg)) { - args.completeFilter = arg[arg.length - 1]; + args.completeFilter = arg[arg.length - 1] || ""; args.completeStart += orig.length - args.completeFilter.length; }