1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 09:34:10 +01:00

Linkify 'restart' in :addons.

--HG--
extra : transplant_source : %EA%88%BD%A9%8FB%DD%24%A4%CC%3E%F9I%87%FB%8A7%C8%11%CC
This commit is contained in:
Kris Maglione
2011-01-24 08:53:58 -05:00
parent 215b630add
commit 08104aee80
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 () {