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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user