Skip to content

Commit

Permalink
Revert "Merge pull request #13 from tiarno/xlink_fix"
Browse files Browse the repository at this point in the history
This reverts commit 0215b13, reversing
changes made to 3b9a006.

This revert corrects a merge which broke svgtex in browsers on GNU/Linux.
  • Loading branch information
stroobandt committed May 15, 2015
1 parent c016b6e commit f631c2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions engine.js
Expand Up @@ -70,9 +70,7 @@ window.engine = (new (function() {
defs.appendChild(
document.getElementById(id.substr(1)).cloneNode(true)
);
if (uses[k]["href"] === undefined) {
uses[k].setAttribute("xlink:href", id);
}
uses[k].setAttribute("xlink:href", id);
}

svg.style.position = "static";
Expand Down

0 comments on commit f631c2d

Please sign in to comment.