debug
This commit is contained in:
parent
f06b9b5ec2
commit
b0adeaef8a
1 changed files with 3 additions and 3 deletions
|
|
@ -29,9 +29,9 @@ fetch('https://nmns.place/track?' + new URLSearchParams({
|
||||||
hash: Cookies.get('nfcexplorer'),
|
hash: Cookies.get('nfcexplorer'),
|
||||||
ua: ua,
|
ua: ua,
|
||||||
cat: cat
|
cat: cat
|
||||||
})).then(response => response.text().then((text) => {
|
})).then(response => response.text().then((progress) => {
|
||||||
console.log(text)
|
total = document.querySelector('span#progress').innerHTML
|
||||||
document.querySelector('span#progress').innerHTML = text + 'of' + document.querySelector('span#progress').innerHTML
|
document.querySelector('span#progress').innerHTML = progress + ' of ' + total
|
||||||
}))
|
}))
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
// handle the error
|
// handle the error
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue