Skip to content

Commit

Permalink
Downloading SVG makes links non functional xwikisas#319
Browse files Browse the repository at this point in the history
* Removed debug statements
  • Loading branch information
Farcasut authored Dec 9, 2024
1 parent 88e1fca commit 76b7f55
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -552,11 +552,9 @@ define('diagram-link-editor', [
// or a smaller method that only performs the replacement.
Graph.prototype.updateSvgLinks = function (node, target, removeCustom) {
var links = node.getElementsByTagName('a');
console.log(links)
for (var i = 0; i < links.length; i++) {
if (links[i].getAttribute('target') == null) {
var href = links[i].getAttribute('href');
console.log(href)
if (href == null) {
href = links[i].getAttribute('xlink:href');
}
Expand Down

0 comments on commit 76b7f55

Please sign in to comment.