This commit is contained in:
randogoth 2023-05-22 11:39:53 +03:00
parent 1cd6cdac9c
commit 8ce09d5736

View file

@ -32,7 +32,7 @@ fetch('https://nmns.place/track?' + new URLSearchParams({
})).then(response => response.text().then((text) => { })).then(response => response.text().then((text) => {
console.log(text) console.log(text)
progress = document.querySelector('span#progress').content progress = document.querySelector('span#progress').content
document.querySelector('span#progress').content = text document.querySelector('span#progress').innerHTML = text + 'of' + progress
})) }))
.catch(error => { .catch(error => {
// handle the error // handle the error