mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-14 17:05:47 +01:00
Don't validate the "activate" option. Closes issue #150.
This commit is contained in:
@@ -812,7 +812,7 @@ const Tabs = Module("tabs", {
|
|||||||
let tab = tabs.getTab();
|
let tab = tabs.getTab();
|
||||||
|
|
||||||
let activate = args.bang ? true : false;
|
let activate = args.bang ? true : false;
|
||||||
if (/\btabopen\b/.test(options["activate"]))
|
if (options.get("activate").has("tabopen", "all"))
|
||||||
activate = !activate;
|
activate = !activate;
|
||||||
|
|
||||||
for (let i in util.range(0, Math.max(1, args.count)))
|
for (let i in util.range(0, Math.max(1, args.count)))
|
||||||
@@ -1045,7 +1045,6 @@ const Tabs = Module("tabs", {
|
|||||||
["tabopen", ":tabopen[!] command"],
|
["tabopen", ":tabopen[!] command"],
|
||||||
["paste", "P and gP mappings"]
|
["paste", "P and gP mappings"]
|
||||||
],
|
],
|
||||||
validator: Option.validateCompleter
|
|
||||||
});
|
});
|
||||||
|
|
||||||
options.add(["newtab"],
|
options.add(["newtab"],
|
||||||
|
|||||||
Reference in New Issue
Block a user