debug
This commit is contained in:
parent
8ce09d5736
commit
2dbfc6ee0b
1 changed files with 1 additions and 2 deletions
|
|
@ -31,8 +31,7 @@ fetch('https://nmns.place/track?' + new URLSearchParams({
|
||||||
cat: cat
|
cat: cat
|
||||||
})).then(response => response.text().then((text) => {
|
})).then(response => response.text().then((text) => {
|
||||||
console.log(text)
|
console.log(text)
|
||||||
progress = document.querySelector('span#progress').content
|
document.querySelector('span#progress').innerHTML = text + 'of' + document.querySelector('span#progress').innerHTML
|
||||||
document.querySelector('span#progress').innerHTML = text + 'of' + progress
|
|
||||||
}))
|
}))
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
// handle the error
|
// handle the error
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue