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:
@@ -248,8 +248,8 @@ var Events = Module("events", {
|
|||||||
|
|
||||||
if (/[A-Z]/.test(macro)) { // uppercase (append)
|
if (/[A-Z]/.test(macro)) { // uppercase (append)
|
||||||
macro = macro.toLowerCase();
|
macro = macro.toLowerCase();
|
||||||
this._macroKeys = DOM.Event.stringify((this._macros.get(macro) || { keys: "" }).keys, true)
|
this._macroKeys = DOM.Event.iterKeys((this._macros.get(macro) || { keys: "" }).keys)
|
||||||
.map(DOM.Event.closure.stringify);
|
.toArray();
|
||||||
}
|
}
|
||||||
else if (macro) {
|
else if (macro) {
|
||||||
this._macroKeys = [];
|
this._macroKeys = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user