diff --git a/workflow/scripts/gene_card_link_formatter.js b/workflow/scripts/gene_card_link_formatter.js index 5887acde..72ca303f 100644 --- a/workflow/scripts/gene_card_link_formatter.js +++ b/workflow/scripts/gene_card_link_formatter.js @@ -1,15 +1,31 @@ function gene_card_link_formatter(value, row) { - $(function () { - $('[data-toggle="tooltip"]').tooltip() - }); - let genes = value.split(","); - let rows = ""; - for (let g of genes) { - rows = `${rows}${g}`; - }; - let table = `
${rows}
Genes
`; - let button = ` - - `; - return button; + let genes = value.split(","); + let rows = ""; + for (let g of genes) { + rows += ` + + ${g} + + `; + } + + let table = `
+ + + + + + + + ${rows} + +
Genes
+
`; + + let button = ` + + + `; + + return button; }