1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 09:42:28 +01:00

Some Gecko 2 fixes.

--HG--
branch : testing
This commit is contained in:
Kris Maglione
2010-08-08 22:03:42 -04:00
parent 1210bc574a
commit 0e3b5ca121
11 changed files with 175 additions and 93 deletions

View File

@@ -797,14 +797,7 @@ const Tabs = Module("tabs", {
commands.add(["tabopen", "t[open]", "tabnew"],
"Open one or more URLs in a new tab",
function (args) {
let special = args.bang;
args = args.string;
let where = special ? liberator.NEW_TAB : liberator.NEW_BACKGROUND_TAB;
if (args)
liberator.open(args, { from: "tabopen", where: where });
else
liberator.open("about:blank", { from: "tabopen", where: where });
liberator.open(args.string || "about:blank", { from: "tabopen", where: liberator.NEW_TAB, background: args.bang });
}, {
bang: true,
completer: function (context) completion.url(context),