added info button for each fieldset

This commit is contained in:
Karma Riuk
2025-05-15 14:10:57 +02:00
parent 3f9154cb95
commit 014c3771fd
3 changed files with 26 additions and 9 deletions

View File

@ -171,8 +171,10 @@ modalOverlay.addEventListener("keydown", (e) => {
}
});
window["info-download-btn"].addEventListener("click", (e) => {
show_modal_with(window["info-download"].content.cloneNode(true));
["download", "upload", "results"].forEach((section) => {
window[`info-${section}-btn`].addEventListener("click", () => {
show_modal_with(window[`info-${section}`].content.cloneNode(true));
});
});
document.getElementById("request-status").onclick = () => {