summaryrefslogtreecommitdiffstats
path: root/src/use.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/use.js')
-rw-r--r--src/use.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/use.js b/src/use.js
index d507998..2f9df9c 100644
--- a/src/use.js
+++ b/src/use.js
@@ -13,7 +13,7 @@ SVG.extend(SVG.Use, {
this.target = element
/* set lined element */
- return this.attr('xlink:href', '#' + element, SVG.xlink)
+ return this.attr('href', '#' + element, SVG.xlink)
}
})