mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 18:12:26 +01:00
Fix macro appending bug.
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user