Spaces:
Sleeping
Sleeping
Update static/script.js
Browse files- 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", () => {
|