diff options
author | wout <wout@impinc.co.uk> | 2012-12-23 11:52:07 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-23 11:52:07 +0100 |
commit | 1ae730fec364f70d4541f38930929607dc2a31ac (patch) | |
tree | 16630efcc4b3ce6a09454681141518a05e4acde4 /src/clip.js | |
parent | 70394584bec59f0b01998b9b54479bb913b0b32a (diff) | |
download | svg.js-1ae730fec364f70d4541f38930929607dc2a31ac.tar.gz svg.js-1ae730fec364f70d4541f38930929607dc2a31ac.zip |
Fixed a bug in safari prevending correct dy on tspans
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 f4fba45..9b106b4 100644 --- a/src/clip.js +++ b/src/clip.js @@ -19,7 +19,7 @@ SVG.extend(SVG.Element, { // clip element using another element clip: function(b) { - var p = this.mother().defs().clip(); + var p = this.parent.defs().clip(); b(p); return this.clipTo(p); |