summaryrefslogtreecommitdiffstats
path: root/src/image.js
diff options
context:
space:
mode:
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)
}
})