summaryrefslogtreecommitdiffstats
path: root/src/parent.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/parent.js')
-rw-r--r--src/parent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parent.js b/src/parent.js
index c4476c6..86c7db8 100644
--- a/src/parent.js
+++ b/src/parent.js
@@ -11,7 +11,7 @@ SVG.Parent = SVG.invent({
, extend: {
// Returns all child elements
children: function() {
- return SVG.utils.map(this.node.childNodes, function(node) {
+ return SVG.utils.map(SVG.utils.filterSVGElements(this.node.childNodes), function(node) {
return SVG.adopt(node)
})
}