aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Svg.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-12-07 15:35:41 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-12-07 15:35:41 +0100
commit7b02d60829d1151a9fd1e726a0a995b92b165328 (patch)
tree5a7c86988fedd7420d45336ee36edf98e109e8a1 /src/elements/Svg.js
parent5161dfdb3a08490da0ae1c5c8b6515eb0ae0da30 (diff)
downloadsvg.js-7b02d60829d1151a9fd1e726a0a995b92b165328.tar.gz
svg.js-7b02d60829d1151a9fd1e726a0a995b92b165328.zip
Release 3.0.43.0.4
Diffstat (limited to 'src/elements/Svg.js')
-rw-r--r--src/elements/Svg.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/elements/Svg.js b/src/elements/Svg.js
index ab7d89f..53b488c 100644
--- a/src/elements/Svg.js
+++ b/src/elements/Svg.js
@@ -62,6 +62,10 @@ export default class Svg extends Container {
while (this.node.hasChildNodes()) {
this.node.removeChild(this.node.lastChild)
}
+
+ // remove defs reference
+ delete this._defs
+
return this
}
}