mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 19:04:12 +01:00
Fix processing of fake input events in the command line.
This commit is contained in:
@@ -153,6 +153,8 @@ var Template = Module("Template", {
|
||||
|
||||
let obj = params.eventTarget;
|
||||
let events = obj[this.getAttribute("events") || "events"];
|
||||
if (Set.has(events, "input"))
|
||||
events["dactyl-input"] = events["input"];
|
||||
|
||||
for (let [event, handler] in Iterator(events))
|
||||
node.addEventListener(event, obj.closure(handler), false);
|
||||
|
||||
Reference in New Issue
Block a user