From 1ae730fec364f70d4541f38930929607dc2a31ac Mon Sep 17 00:00:00 2001 From: wout Date: Sun, 23 Dec 2012 11:52:07 +0100 Subject: Fixed a bug in safari prevending correct dy on tspans --- src/clip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/clip.js') 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); -- cgit v1.2.3