summaryrefslogtreecommitdiffstats
path: root/src/image.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-07-22 13:52:20 +0100
committerwout <wout@impinc.co.uk>2013-07-22 13:52:20 +0100
commit9773661d9321927b5b86feef007fabba68eccf32 (patch)
treea45461b0a574017f6b6933b1ae2a73233e711e8f /src/image.js
parentf5c28a74a55501982d5c76d4155170f569937465 (diff)
downloadsvg.js-9773661d9321927b5b86feef007fabba68eccf32.tar.gz
svg.js-9773661d9321927b5b86feef007fabba68eccf32.zip
Namespace fixes and added textPath and bumped to v0.270.28
Diffstat (limited to 'src/image.js')
-rw-r--r--src/image.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.js b/src/image.js
index b01897d..24806ff 100644
--- a/src/image.js
+++ b/src/image.js
@@ -10,7 +10,7 @@ SVG.extend(SVG.Image, {
// (re)load image
load: function(url) {
- return (url ? this.attr('xlink:href', (this.src = url), SVG.xlink) : this)
+ return (url ? this.attr('href', (this.src = url), SVG.xlink) : this)
}
})