Biocoder09 commited on
Commit
f473056
·
verified ·
1 Parent(s): 1fa8321

Update static/script.js

Browse files
Files changed (1) hide show
  1. static/script.js +4 -0
static/script.js CHANGED
@@ -30,6 +30,10 @@ document.addEventListener("DOMContentLoaded", () => {
30
  const tabFasta = document.getElementById("tab-fasta");
31
  const panelSeq = document.getElementById("panel-seq");
32
  const panelFasta = document.getElementById("panel-fasta");
 
 
 
 
33
 
34
  if (tabSeq && tabFasta && panelSeq && panelFasta) {
35
  tabSeq.addEventListener("click", () => {
 
30
  const tabFasta = document.getElementById("tab-fasta");
31
  const panelSeq = document.getElementById("panel-seq");
32
  const panelFasta = document.getElementById("panel-fasta");
33
+ const downloadBtn = document.getElementById("downloadCsvBtn");
34
+ if (downloadBtn) {
35
+ downloadBtn.addEventListener("click", downloadCSV);
36
+ });
37
 
38
  if (tabSeq && tabFasta && panelSeq && panelFasta) {
39
  tabSeq.addEventListener("click", () => {