diff options
Diffstat (limited to 'src/svg.js')
-rw-r--r-- | src/svg.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -98,8 +98,8 @@ SVG.adopt = function(node) { // adopt with element-specific settings if (node.nodeName == 'svg') element = node.parentNode instanceof SVGElement ? new SVG.Nested : new SVG.Doc - else if (node.nodeName == 'lineairGradient') // lineair? - element = new SVG.Gradient('lineair') + else if (node.nodeName == 'linearGradient') + element = new SVG.Gradient('linear') else if (node.nodeName == 'radialGradient') element = new SVG.Gradient('radial') else if (SVG[capitalize(node.nodeName)]) @@ -136,4 +136,4 @@ SVG.prepare = function(element) { , poly: draw.polyline().node , path: path } -}
\ No newline at end of file +} |