From 8ce09d5736fd6b92a93ed062e403b8195a1e1afb Mon Sep 17 00:00:00 2001 From: randogoth Date: Mon, 22 May 2023 11:39:53 +0300 Subject: [PATCH] debug --- web/nfc-theme/static/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/nfc-theme/static/user.js b/web/nfc-theme/static/user.js index da6d20a..68f1af1 100644 --- a/web/nfc-theme/static/user.js +++ b/web/nfc-theme/static/user.js @@ -32,7 +32,7 @@ fetch('https://nmns.place/track?' + new URLSearchParams({ })).then(response => response.text().then((text) => { console.log(text) progress = document.querySelector('span#progress').content - document.querySelector('span#progress').content = text + document.querySelector('span#progress').innerHTML = text + 'of' + progress })) .catch(error => { // handle the error