diff --git a/web/nfc-theme/static/user.js b/web/nfc-theme/static/user.js index 68f1af1..d481413 100644 --- a/web/nfc-theme/static/user.js +++ b/web/nfc-theme/static/user.js @@ -31,8 +31,7 @@ fetch('https://nmns.place/track?' + new URLSearchParams({ cat: cat })).then(response => response.text().then((text) => { console.log(text) - progress = document.querySelector('span#progress').content - document.querySelector('span#progress').innerHTML = text + 'of' + progress + document.querySelector('span#progress').innerHTML = text + 'of' + document.querySelector('span#progress').innerHTML })) .catch(error => { // handle the error