summaryrefslogtreecommitdiffstats
path: root/src/image.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-21 21:01:03 +0100
committerwout <wout@impinc.co.uk>2012-12-21 21:01:03 +0100
commitcf1bd17eebe9b6cb8fac869aeec4245a0ec66fff (patch)
tree222e58dd0bb2729b237dafd22ba7077456c2b003 /src/image.js
parent9dd851e68a3241883dea7236da48d4878b1b1899 (diff)
downloadsvg.js-cf1bd17eebe9b6cb8fac869aeec4245a0ec66fff.tar.gz
svg.js-cf1bd17eebe9b6cb8fac869aeec4245a0ec66fff.zip
Making the svg function global
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 a1d21c0..03fa1b1 100644
--- a/src/image.js
+++ b/src/image.js
@@ -11,7 +11,7 @@ SVG.extend(SVG.Image, {
// (re)load image
load: function(u) {
- return this.attr('href', u, SVG.xlink);
+ return this.attr('xlink:href', u, SVG.xlink);
}
}); \ No newline at end of file