mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 09:17:59 +01:00
Open the firstrun page in a new tab.
This commit is contained in:
@@ -573,14 +573,10 @@ const Tabs = Module("tabs", {
|
||||
commands.add(["tab"],
|
||||
"Execute a command and tell it to output in a new tab",
|
||||
function (args) {
|
||||
try {
|
||||
var force = dactyl.forceNewTab;
|
||||
dactyl.forceNewTab = true;
|
||||
dactyl.execute(args[0] || "", null, true);
|
||||
}
|
||||
finally {
|
||||
dactyl.forceNewTab = force;
|
||||
}
|
||||
dactyl.withSavedValues(["forceNewTab"], function () {
|
||||
this.forceNewTab = true;
|
||||
this.execute(args[0] || "", null, true);
|
||||
});
|
||||
}, {
|
||||
argCount: "+",
|
||||
completer: function (context) completion.ex(context),
|
||||
|
||||
Reference in New Issue
Block a user