diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-06-28 21:24:20 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-06-28 21:24:20 +0200 |
commit | 7125c6417479216808469e5c4016ec8b1dc515c6 (patch) | |
tree | fbb54e5b47e67b5804f090692ee594e50c422d35 /src/image.js | |
parent | c6026fb0051177ded9cfc9b462ec80123f490467 (diff) | |
download | svg.js-7125c6417479216808469e5c4016ec8b1dc515c6.tar.gz svg.js-7125c6417479216808469e5c4016ec8b1dc515c6.zip |
Fixed few bugs with doc() and problems with textNodes (#357)
Diffstat (limited to 'src/image.js')
-rw-r--r-- | src/image.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.js b/src/image.js index ed44752..ed803d6 100644 --- a/src/image.js +++ b/src/image.js @@ -16,7 +16,7 @@ SVG.Image = SVG.invent({ // preload image img.onload = function() { - var p = self.doc(SVG.Pattern) + var p = self.parent(SVG.Pattern) // ensure image size if (self.width() == 0 && self.height() == 0) |