summaryrefslogtreecommitdiffstats
path: root/src/element.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/element.js')
-rw-r--r--src/element.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/element.js b/src/element.js
index bd5d08d..090459f 100644
--- a/src/element.js
+++ b/src/element.js
@@ -247,7 +247,7 @@ SVG.Element = SVG.invent({
this.node.removeAttribute('svgjs:data')
if(Object.keys(this.dom).length)
- this.node.setAttributeNS(SVG.svgjs, 'svgjs:data', JSON.stringify(this.dom))
+ this.node.setAttribute('svgjs:data', JSON.stringify(this.dom)) // see #428
return this
}