Skip to content

Commit

Permalink
fix for svg file names
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-combe committed Mar 8, 2019
1 parent 87be9ff commit 8022852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/crosslinkviewer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/controller/Init.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ xiNET.Controller.prototype.exportSVG = function() {
// var win = window.open(xmlAsUrl, 'xiNET-output.svg');
// }
var content = svgXml;
var fileName = document.getElementsByTagName("title")[0].innerHTML.slice(0, -3) + ".svg";
var fileName = document.getElementsByTagName("title")[0].innerHTML.slice(0, -4) + ".svg";
var contentType = "application/svg";

var oldToNewTypes = {
Expand Down

0 comments on commit 8022852

Please sign in to comment.