Skip to content

Commit

Permalink
Fix corrupt clustervis script tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolan Woods committed Mar 8, 2021
1 parent 2200614 commit 7109068
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 9 deletions.
16 changes: 16 additions & 0 deletions .idea/csv-plugin.xml

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

32 changes: 24 additions & 8 deletions .idea/workspace.xml

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

2 changes: 1 addition & 1 deletion src/js/genomecomparevis.js
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ export default function MultiVis(targetNode){
const clusterPage = open();
const clusterDoc = clusterPage.document;
clusterPage.createClusterVisualization = ()=>createClusterVisualization(clusterDoc, clusterDict);
clusterDoc.write(`<html>${document.head.outerHTML}<body>${document.getElementById('clustervis').innerHTML}<script>window.createClusterVisualization()<\\/script></body></html>`);
clusterDoc.write(`<html>${document.head.outerHTML}<body>${document.getElementById('clustervis').innerHTML}<script>window.createClusterVisualization()<\/sc` + `ript></body></html>`);
};

return this;
Expand Down

0 comments on commit 7109068

Please sign in to comment.