1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 20:12:27 +01:00

Fix macro appending bug.

This commit is contained in:
Kris Maglione
2011-10-03 04:51:03 -04:00
parent 01e41a6525
commit 50d1d278c4

View File

@@ -248,8 +248,8 @@ var Events = Module("events", {
if (/[A-Z]/.test(macro)) { // uppercase (append)
macro = macro.toLowerCase();
this._macroKeys = DOM.Event.stringify((this._macros.get(macro) || { keys: "" }).keys, true)
.map(DOM.Event.closure.stringify);
this._macroKeys = DOM.Event.iterKeys((this._macros.get(macro) || { keys: "" }).keys)
.toArray();
}
else if (macro) {
this._macroKeys = [];