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'),
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue