summaryrefslogtreecommitdiff
path: root/op_crates
diff options
context:
space:
mode:
authorBenjamin Gruenbaum <inglor@gmail.com>2020-11-02 19:42:22 +0200
committerGitHub <noreply@github.com>2020-11-02 18:42:22 +0100
commita8ca9fe7bb93d031af865ffcf45fb265395f1e1b (patch)
tree8f6becb0e83e126fa0c2e93005e579eac1630280 /op_crates
parent0e5c8c03ac9290e752d15c23e107bfbd97d03c72 (diff)
test(op_crates/web): add EventTarget tests (#8205)
Diffstat (limited to 'op_crates')
-rw-r--r--op_crates/web/01_event.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/op_crates/web/01_event.js b/op_crates/web/01_event.js
index 9067361fd..8a4e79059 100644
--- a/op_crates/web/01_event.js
+++ b/op_crates/web/01_event.js
@@ -936,6 +936,7 @@
const listeners = eventTargetData.get(self).listeners;
if (!(event.type in listeners)) {
+ setTarget(event, this);
return true;
}