mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 01:32:31 +02:00
Fix processing of fake input events in the command line.
This commit is contained in:
1 parent
fd612fab8d
commit
cebf7c5397
2 files changed
+86
-73
No files matched your search
@@ -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