Skip to content
Snippets Groups Projects
Commit d5a7ee58 authored by Yohan Jarosz's avatar Yohan Jarosz
Browse files

defer kronaplot loading

parent 9a6b40e6
No related branches found
No related tags found
No related merge requests found
...@@ -316,6 +316,13 @@ $('.right.carousel-control').click(function(){ ...@@ -316,6 +316,13 @@ $('.right.carousel-control').click(function(){
$('#tabs li:first > a').tab('show'); $('#tabs li:first > a').tab('show');
// load kronaplot if people click on tab. Make a lot of errors if loaded from begenning.
$('#annottab').on('show.bs.tab', function (e) {
if($("#MG-kronaplot").attr('src') === undefined){
$("#ifr-kronaplot").attr('src', 'Analysis/results/MG.gene_kegg_krona.html');
}
});
//load html tables //load html tables
// $(".table-result").each(function(idx, node) { // $(".table-result").each(function(idx, node) {
// var ident = node.id; // var ident = node.id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment