aboutsummaryrefslogtreecommitdiffstats
path: root/src/hyperlink.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-04-25 13:22:58 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-04-25 13:22:58 +0200
commit4455a789b65027a53f9f1e610de14570a8f06891 (patch)
treeb66fcfa042c5fdc06ca271a934b2d33a008a1c61 /src/hyperlink.js
parent966084444a436180ebe4078501ede11bc609c5cb (diff)
downloadsvg.js-fix-basetag-bug.tar.gz
svg.js-fix-basetag-bug.zip
added tests, make replacement for all elements using hreffix-basetag-bug
Diffstat (limited to 'src/hyperlink.js')
-rw-r--r--src/hyperlink.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hyperlink.js b/src/hyperlink.js
index a967707..8cb9a4a 100644
--- a/src/hyperlink.js
+++ b/src/hyperlink.js
@@ -9,7 +9,7 @@ SVG.A = SVG.invent({
, extend: {
// Link url
to: function(url) {
- return this.attr('href', url, SVG.xlink)
+ return this.attr('href', link(url), SVG.xlink)
}
// Link show attribute
, show: function(target) {