aboutsummaryrefslogtreecommitdiffstats
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 d3150f7..e63b9f5 100644
--- a/src/use.js
+++ b/src/use.js
@@ -10,7 +10,7 @@ SVG.Use = SVG.invent({
// Use element as a reference
element: function(element, file) {
// Set lined element
- return this.attr('href', (file || '') + '#' + element, SVG.xlink)
+ return this.attr('href', link((file || '') + '#' + element), SVG.xlink)
}
}