disable input while converting
BiRabittoh andronacomarco@gmail.com
Thu, 28 Mar 2024 17:36:01 +0100
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
templates/index.html
→
templates/index.html
@@ -30,9 +30,11 @@ <p><a href="https://github.com/BiRabittoh/nds-converter">Source code</a></p>
<script> async function convertFiles(element) { + element.disabled = true; for (f of element.files) { await convert(f); } + element.disabled = false; } async function convert(file) {