summaryrefslogtreecommitdiffstats
path: root/src/container.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/container.js')
-rw-r--r--src/container.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/container.js b/src/container.js
index 46e8200..d24fe17 100644
--- a/src/container.js
+++ b/src/container.js
@@ -13,7 +13,7 @@ SVG.Container = {
},
has: function(e) {
- return Array.prototype.indexOf.call(this.children(), e) >= 0;
+ return this.children().indexOf(e) >= 0;
},
children: function() {