diff --git a/snstranscripts.html b/snstranscripts.html
index 09f7d5d..b9dcb5e 100644
--- a/snstranscripts.html
+++ b/snstranscripts.html
@@ -45,7 +45,7 @@
@@ -255,8 +255,6 @@ Inserisci la password necessaria
snsVideoJson = await snsVideoInfo.json();
await populate(snsVideoJson, jsonSnSTranscript);
-
-
hideSpinner();
}
@@ -558,10 +556,16 @@ Inserisci la password necessaria
}
}
+
+ function sleep (time) {
+ return new Promise((resolve) => setTimeout(resolve, time));
+}
// open all text panels
async function openAll() {
+ showSpinner();
let allDivs = document.querySelectorAll(".my-collapse-div");
- allDivs.forEach(item => { item.classList.add("show") });
+ allDivs.forEach(item => { item.classList.add("show")});
+ hideSpinner();
}
// close all text panels