This commit is contained in:
randogoth 2023-05-22 11:37:06 +03:00
parent c6621ac5da
commit 277f311c7a

View file

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