1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 05:07:59 +01:00

Fix definition link for commands defined on the command-line.

This commit is contained in:
Kris Maglione
2010-12-18 18:56:17 -05:00
parent 08058d0e4d
commit 394420a9d1
8 changed files with 70 additions and 35 deletions

View File

@@ -552,7 +552,7 @@ const Tabs = Module("tabs", {
let alternate = tabs.alternate;
try {
dactyl.execute(args[0] || "", null, true);
commands.execute(args[0] || "", null, true);
}
finally {
tabs.updateSelectionHistory([tabs.getTab(), alternate]);
@@ -569,7 +569,7 @@ const Tabs = Module("tabs", {
function (args) {
dactyl.withSavedValues(["forceNewTab"], function () {
this.forceNewTab = true;
this.execute(args[0] || "", null, true);
commands.execute(args[0] || "", null, true);
});
}, {
argCount: "+",
@@ -583,7 +583,7 @@ const Tabs = Module("tabs", {
function (args) {
for (let tab in values(tabs.visibleTabs)) {
tabs.select(tab);
if (!dactyl.execute(args[0] || "", null, true))
if (!commands.execute(args[0] || "", null, true))
break;
}
}, {