1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 00:54:14 +01:00

Cleanup liberator.open a bit; could probably use a bit more.

This commit is contained in:
Kris Maglione
2009-10-31 17:28:35 -04:00
parent 83ef6a7a93
commit d880d4afcb
5 changed files with 26 additions and 22 deletions

View File

@@ -166,8 +166,7 @@ function Browser() //{{{
function ()
{
let homepages = gHomeButton.getHomePage();
liberator.open(homepages, /\bhomepage\b/.test(options["activate"]) ?
liberator.NEW_TAB : liberator.NEW_BACKGROUND_TAB);
liberator.open(homepages, { from: "homepage", where: liberator.NEW_TAB });
});
mappings.add([modes.NORMAL], ["gu"],