aboutsummaryrefslogtreecommitdiffstats
path: root/src/element.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/element.js')
-rwxr-xr-xsrc/element.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/element.js b/src/element.js
index 438f5a9..8c4166d 100755
--- a/src/element.js
+++ b/src/element.js
@@ -101,7 +101,7 @@ SVG.Element = SVG.invent({
// Remove element
, remove: function() {
if (this.parent)
- this.doc() === this ? this.destroy() : this.parent.removeElement(this)
+ this.parent.removeElement(this)
return this
}