mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 03:55:46 +01:00
Fix shortcomings in last commit.
This commit is contained in:
@@ -228,6 +228,10 @@ var Addon = Class("Addon", {
|
||||
for (let node in values(this.nodes))
|
||||
if (node.update && node.update !== callee)
|
||||
node.update();
|
||||
|
||||
let event = this.document.createEvent("Events");
|
||||
event.initEvent("dactyl-commandupdate", true, false);
|
||||
this.document.dispatchEvent(event);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user