1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-19 07:45:46 +01:00

Make the silly ':hi Bell display:none;' hack function again.

This commit is contained in:
Kris Maglione
2010-11-20 16:03:21 -05:00
parent 6358a21cec
commit 0a3ec8c768
4 changed files with 15 additions and 30 deletions

View File

@@ -569,7 +569,6 @@ const Tabs = Module("tabs", {
subCommand: 0
});
// TODO: this should open in a new tab positioned directly after the current one, not at the end
commands.add(["tab"],
"Execute a command and tell it to output in a new tab",
function (args) {
@@ -589,7 +588,8 @@ const Tabs = Module("tabs", {
function (args) {
for (let i = 0; i < tabs.count; i++) {
tabs.select(i);
dactyl.execute(args[0] || "", null, true);
if (!dactyl.execute(args[0] || "", null, true))
break;
}
}, {
argCount: "1",