summaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg.js')
-rw-r--r--src/svg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg.js b/src/svg.js
index d0e4188..409aa37 100644
--- a/src/svg.js
+++ b/src/svg.js
@@ -27,7 +27,7 @@ this.SVG = {
// Method for extending objects
extend: function(object, module) {
/* extend all container modules */
- if (object === SVG.Container)
+ if (object == SVG.Container)
('Clip Defs Doc Gradient Group Mask Nested Pattern').split(' ').forEach(function(m) {
if (SVG[m])
SVG.extend(SVG[m], module);