From 215cf8e6f7670a505c565406c54d1ae1e86eaf4d Mon Sep 17 00:00:00 2001 From: Mark Boas Date: Fri, 19 Jul 2024 20:13:56 +0200 Subject: [PATCH] bugfix export wav --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index f9ea649..b5b3bce 100644 --- a/index.html +++ b/index.html @@ -137,7 +137,7 @@ - +
@@ -1439,7 +1439,7 @@

Load from Local Storage

const element = document.querySelector(".file-item.active"); let fileName; - if (typeof element === "undefined"){ + if (element == null || typeof element === "undefined"){ fileName = "default"; } else { fileName = element.textContent;