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

Fix q mapping's action arg.

See revision 45b2508a55c9.
This commit is contained in:
Doug Kearns
2010-12-30 20:21:07 +11:00
parent 751b1758c4
commit 3c414d9ac9

View File

@@ -1248,7 +1248,7 @@ var Events = Module("events", {
// macros
mappings.add([modes.NORMAL, modes.TEXT_AREA, modes.PLAYER].filter(util.identity),
["q"], "Record a key sequence into a macro",
function (arg) {
function ({ arg }) {
events._macroKeys.pop();
events[modes.recording ? "finishRecording" : "startRecording"](arg);
},