From 2dbfc6ee0b324fde0cf6209a34b5fe2dc4be8cf8 Mon Sep 17 00:00:00 2001 From: randogoth Date: Mon, 22 May 2023 11:41:40 +0300 Subject: [PATCH] debug --- web/nfc-theme/static/user.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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