diff options
Diffstat (limited to 'src/clip.js')
-rw-r--r-- | src/clip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clip.js b/src/clip.js index dd2f7b7..b43712e 100644 --- a/src/clip.js +++ b/src/clip.js @@ -40,7 +40,7 @@ SVG.extend(SVG.Element, { var clipper = element instanceof SVG.ClipPath ? element : this.parent().clip().add(element) // apply mask - return this.attr('clip-path', 'url("#' + clipper.attr('id') + '")') + return this.attr('clip-path', 'url("#' + clipper.id() + '")') } // Unclip element , unclip: function() { |