diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-06-15 16:37:42 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-06-15 16:37:42 +0200 |
commit | 71c984a986e1c0980ce0a6eb5626dda989cfa428 (patch) | |
tree | 63b4ed56a29b405ffaa91c4b2d95894272de535e /src | |
parent | 5d80e4393109e181b0ba997e338530c0e2af1dd7 (diff) | |
download | svg.js-71c984a986e1c0980ce0a6eb5626dda989cfa428.tar.gz svg.js-71c984a986e1c0980ce0a6eb5626dda989cfa428.zip |
Removed target-reference from use which caused bugs in `dmove()` and `use()` with external file
The used element can be retrieved using `element.reference('href')`
Diffstat (limited to 'src')
-rwxr-xr-x | src/use.js | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -9,9 +9,6 @@ SVG.Use = SVG.invent({ , extend: { // Use element as a reference element: function(element, file) { - /* Store target element */ - this.target = element - /* Set lined element */ return this.attr('href', (file || '') + '#' + element, SVG.xlink) } |