diff options
Diffstat (limited to 'src/svg.js')
-rw-r--r-- | src/svg.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -97,7 +97,7 @@ SVG.adopt = function(node) { // adopt with element-specific settings if (node.nodeName == 'svg') - element = node.parentNode instanceof SVGElement ? new SVG.Nested : new SVG.Doc + element = node.parentNode instanceof window.SVGElement ? new SVG.Nested : new SVG.Doc else if (node.nodeName == 'linearGradient') element = new SVG.Gradient('linear') else if (node.nodeName == 'radialGradient') |