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

Linkify 'restart' in :addons.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-24 08:53:58 -05:00
parent 1d08056350
commit 8980c91978
3 changed files with 12 additions and 2 deletions

View File

@@ -37,6 +37,9 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
let elem = event.originalTarget;
dactyl.help(elem.getAttribute("tag") || elem.textContent);
};
this.commands["dactyl.restart"] = function (event) {
dactyl.restart();
};
},
cleanup: function () {