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

Automagical macro command completion.

This commit is contained in:
Kris Maglione
2011-10-04 08:16:05 -04:00
parent a96716c2d8
commit a69eedc980
3 changed files with 39 additions and 3 deletions

View File

@@ -378,6 +378,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
if (Set.has(defaults, name))
stack.top.elements.push(quote(defaults[name]));
else {
let index = idx;
if (idx) {
idx = Number(idx) - 1;
stack.top.elements.push(update(