1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 03:12:29 +01:00

Fix "gn" when "quickmark" isn't in 'activate'.

This commit is contained in:
Kris Maglione
2010-09-24 09:12:22 -04:00
parent da5b040fe3
commit 1f00a659f3

View File

@@ -152,11 +152,7 @@ const QuickMarks = Module("quickmarks", {
mappings.add(myModes,
["gn"], "Jump to a QuickMark in a new tab",
function (arg) {
quickmarks.jumpTo(arg,
/\bquickmark\b/.test(options["activate"]) ?
dactyl.NEW_TAB : dactyl.NEW_BACKGROUND_TAB);
},
function (arg) { quickmarks.jumpTo(arg, { from: "quickmark", where: dactyl.NEW_TAB }); },
{ arg: true });
mappings.add(myModes,