diff --git a/dev/raphael.svg.js b/dev/raphael.svg.js index b5fcfeea..355520e5 100644 --- a/dev/raphael.svg.js +++ b/dev/raphael.svg.js @@ -916,6 +916,9 @@ define(["./raphael.core"], function(R) { if (this.gradient) { paper.defs.removeChild(this.gradient); } + if (this.clip) { + paper.defs.removeChild(this.clip.parentNode); + } R._tear(this, paper); node.parentNode.removeChild(node);