diff options
Diffstat (limited to 'src/mask.js')
-rw-r--r-- | src/mask.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mask.js b/src/mask.js index 51e61e9..7d90861 100644 --- a/src/mask.js +++ b/src/mask.js @@ -20,8 +20,8 @@ SVG.Mask = SVG.invent({ this.targets[i].unmask() this.targets = [] - // remove mask from parent - this.parent().removeElement(this) + // remove mask from parent + SVG.Element.prototype.remove.call(this) return this } |