summaryrefslogtreecommitdiffstats
path: root/src/element.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-09 10:07:50 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-03-09 10:07:50 +0100
commit761623033b6fd2af16abb2fe194f24d6e00d4024 (patch)
treec98e3d8ee18a1be207da19163c6c80b3bcaab783 /src/element.js
parent4f4f098c8026d1a42356555088eaa0b67ceabfa8 (diff)
downloadsvg.js-761623033b6fd2af16abb2fe194f24d6e00d4024.tar.gz
svg.js-761623033b6fd2af16abb2fe194f24d6e00d4024.zip
make events cancelable by default (#550) - version 5
Diffstat (limited to 'src/element.js')
-rw-r--r--src/element.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/element.js b/src/element.js
index 3713aac..d3db4ba 100644
--- a/src/element.js
+++ b/src/element.js
@@ -4,6 +4,7 @@ SVG.Element = SVG.invent({
create: function(node) {
// make stroke value accessible dynamically
this._stroke = SVG.defaults.attrs.stroke
+ this._event = null
// initialize data object
this.dom = {}