This commit is contained in:
randogoth 2023-05-22 11:51:23 +03:00
parent f06b9b5ec2
commit b0adeaef8a

View file

@ -29,9 +29,9 @@ fetch('https://nmns.place/track?' + new URLSearchParams({
hash: Cookies.get('nfcexplorer'),
ua: ua,
cat: cat
})).then(response => response.text().then((text) => {
console.log(text)
document.querySelector('span#progress').innerHTML = text + 'of' + document.querySelector('span#progress').innerHTML
})).then(response => response.text().then((progress) => {
total = document.querySelector('span#progress').innerHTML
document.querySelector('span#progress').innerHTML = progress + ' of ' + total
}))
.catch(error => {
// handle the error