aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Svg.js')
-rw-r--r--src/elements/Svg.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/elements/Svg.js b/src/elements/Svg.js
index 8699327..51f4202 100644
--- a/src/elements/Svg.js
+++ b/src/elements/Svg.js
@@ -25,10 +25,8 @@ export default class Svg extends Container {
}
isRoot () {
-
return !this.node.parentNode
|| (!(this.node.parentNode instanceof globals.window.SVGElement) && this.node.parentNode.nodeName !== '#document-fragment')
- // || this.node.parentNode.nodeName === '#document'
}
// Add namespaces