aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index fae7314..1097e25 100644
--- a/src/event.js
+++ b/src/event.js
@@ -129,7 +129,7 @@ SVG.extend(SVG.Element, {
if (event instanceof window.Event) {
this.node.dispatchEvent(event)
} else {
- this.node.dispatchEvent(event = new window.CustomEvent(event, {detail: data, cancelable: true}))
+ this.node.dispatchEvent(event = new SVG.CustomEvent(event, {detail: data, cancelable: true}))
}
this._event = event
return this