From 4a7484b285e3c1850ad7e9dc94f1b5c6ebfd9271 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 12 Nov 2009 14:21:58 -0500 Subject: [PATCH] Don't validate the "activate" option. Closes issue #150. --- common/content/tabs.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/content/tabs.js b/common/content/tabs.js index 5f13e6e4..b8db5492 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -812,7 +812,7 @@ const Tabs = Module("tabs", { let tab = tabs.getTab(); let activate = args.bang ? true : false; - if (/\btabopen\b/.test(options["activate"])) + if (options.get("activate").has("tabopen", "all")) activate = !activate; for (let i in util.range(0, Math.max(1, args.count))) @@ -1045,7 +1045,6 @@ const Tabs = Module("tabs", { ["tabopen", ":tabopen[!] command"], ["paste", "P and gP mappings"] ], - validator: Option.validateCompleter }); options.add(["newtab"],