diff --git a/src/viddown.go b/src/viddown.go index fe29c8a..d341a33 100644 --- a/src/viddown.go +++ b/src/viddown.go @@ -54,6 +54,7 @@ fetch("currentwork").then(response => { }).then(json => { parsed = JSON.parse(json) console.log(parsed); + document.getElementById("list").innerText = ""; Object.entries(parsed).forEach(([key, value]) => {document.getElementById("list").innerText += value}); if (json === "{}"){ }