1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 01:44:13 +01:00

Don't validate the "activate" option. Closes issue #150.

This commit is contained in:
Kris Maglione
2009-11-12 14:21:58 -05:00
parent 7f0a8a9ede
commit 4a7484b285

View File

@@ -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"],