summaryrefslogtreecommitdiffstats
path: root/src/mask.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/mask.js')
-rw-r--r--src/mask.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mask.js b/src/mask.js
index 197fd06..4a6047a 100644
--- a/src/mask.js
+++ b/src/mask.js
@@ -18,7 +18,7 @@ SVG.Mask = SVG.invent({
for (var i = this.targets.length - 1; i >= 0; i--)
if (this.targets[i])
this.targets[i].unmask()
- delete this.targets
+ this.targets = [];
// remove mask from parent
this.parent().removeElement(this)