summaryrefslogtreecommitdiffstats
path: root/src/clip.js
diff options
context:
space:
mode:
authorrdfriedl <rdfriedl@gmail.com>2015-12-11 09:21:58 -0600
committerrdfriedl <rdfriedl@gmail.com>2015-12-11 09:21:58 -0600
commit291892690aa68d6a3fae2aa65597b38e8315da42 (patch)
tree89f5eda6a0fe743b26690cec382e2a65b0196462 /src/clip.js
parentb564704285fd27194e6420250275682bd6363557 (diff)
downloadsvg.js-291892690aa68d6a3fae2aa65597b38e8315da42.tar.gz
svg.js-291892690aa68d6a3fae2aa65597b38e8315da42.zip
fixes for issue #429
Diffstat (limited to 'src/clip.js')
-rw-r--r--src/clip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clip.js b/src/clip.js
index 20f83f6..9b5443e 100644
--- a/src/clip.js
+++ b/src/clip.js
@@ -18,7 +18,7 @@ SVG.ClipPath = SVG.invent({
for (var i = this.targets.length - 1; i >= 0; i--)
if (this.targets[i])
this.targets[i].unclip()
- delete this.targets
+ this.targets = [];
// remove clipPath from parent
this.parent().removeElement(this)