1
0
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:
Kris Maglione
2011-10-03 15:50:08 -04:00
parent fd612fab8d
commit cebf7c5397
2 changed files with 86 additions and 73 deletions

View File

@@ -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);