Permalink
Browse files

Remove unnessary svg attributes

  • Loading branch information...
jonastreub committed Jun 27, 2017
1 parent 8e73cb1 commit 5b4c3bcb7872f7cb4743fcb16eb45972cacc9475
Showing with 1 addition and 2 deletions.
  1. +1 −2 framer/SVGLayer.coffee
View
@@ -31,7 +31,6 @@ class exports.SVGLayer extends Layer
if not @_elementGradientSVG and isGradient
@_elementGradientSVG = document.createElementNS("http://www.w3.org/2000/svg", "svg")
@_elementGradientSVG.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink")
@_element.appendChild @_elementGradientSVG
if isGradient
@@ -45,4 +44,4 @@ class exports.SVGLayer extends Layer
@style.fill = "url(##{id})"
else
@_elementGradientSVG.innerHTML = ""
@fill = @fill
@fill = @fill

0 comments on commit 5b4c3bc

Please sign in to comment.