Clear input when loading, fixes duplication of content on Firefox

This commit is contained in:
Mikko Ahlroth 2022-10-26 13:02:10 +03:00
parent db94d81d64
commit a5f4b813ce
2 changed files with 2 additions and 1 deletions

View file

@ -20,7 +20,7 @@
<div id="length">Waiting...</div>
<div id="info">
v1.0.0 | © Nicd 2022 | <a href="https://gitlab.com/Nicd/tahnaroskakori" target="_blank">Source</a> | <a
v1.0.1 | © Nicd 2022 | <a href="https://gitlab.com/Nicd/tahnaroskakori" target="_blank">Source</a> | <a
href="./licenses.txt" target="_blank">Licenses</a>
</div>
</footer>

View file

@ -70,6 +70,7 @@ async function syncCompress(data) {
*/
async function streamDecompress(data) {
statusEl.textContent = "Initializing decompress...";
codeEl.value = "";
const inputStream = new ReadableStream({
start(controller) {