mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 20:14:12 +01:00
Fix "gn" when "quickmark" isn't in 'activate'.
This commit is contained in:
@@ -152,11 +152,7 @@ const QuickMarks = Module("quickmarks", {
|
|||||||
|
|
||||||
mappings.add(myModes,
|
mappings.add(myModes,
|
||||||
["gn"], "Jump to a QuickMark in a new tab",
|
["gn"], "Jump to a QuickMark in a new tab",
|
||||||
function (arg) {
|
function (arg) { quickmarks.jumpTo(arg, { from: "quickmark", where: dactyl.NEW_TAB }); },
|
||||||
quickmarks.jumpTo(arg,
|
|
||||||
/\bquickmark\b/.test(options["activate"]) ?
|
|
||||||
dactyl.NEW_TAB : dactyl.NEW_BACKGROUND_TAB);
|
|
||||||
},
|
|
||||||
{ arg: true });
|
{ arg: true });
|
||||||
|
|
||||||
mappings.add(myModes,
|
mappings.add(myModes,
|
||||||
|
|||||||
Reference in New Issue
Block a user