mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 05:55:45 +01:00
Fix shortcomings in last commit.
This commit is contained in:
@@ -141,8 +141,8 @@ var Template = Module("Template", {
|
||||
|
||||
if (collapsed == this.commandAllowed) {
|
||||
let event = this.node.ownerDocument.createEvent("Events");
|
||||
event.initEvent("dactyl-commandupdate", false, false);
|
||||
this.node.dispatchEvent(event);
|
||||
event.initEvent("dactyl-commandupdate", true, false);
|
||||
this.node.ownerDocument.dispatchEvent(event);
|
||||
}
|
||||
}
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user