aboutsummaryrefslogtreecommitdiff
path: root/static/js/autorefresh.js
diff options
context:
space:
mode:
authorLibravatar Choom 2023-01-15 03:12:48 -0300
committerLibravatar Choom 2023-01-16 14:37:04 -0300
commit4c31093827f57394563de037a21143407586e384 (patch)
treeb16abeb0dc76e48e11f8c0264fa39ce6294458d2 /static/js/autorefresh.js
parent44f7397cf7a7596edea78864122b78d59983701e (diff)
downloadweabot-4c31093827f57394563de037a21143407586e384.tar.gz
weabot-4c31093827f57394563de037a21143407586e384.tar.xz
weabot-4c31093827f57394563de037a21143407586e384.zip
Autorefresh en home
Diffstat (limited to 'static/js/autorefresh.js')
-rw-r--r--static/js/autorefresh.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/autorefresh.js b/static/js/autorefresh.js
index af61c8b..91ac05c 100644
--- a/static/js/autorefresh.js
+++ b/static/js/autorefresh.js
@@ -252,7 +252,7 @@ function counter() {
loadJSON();
} else {
refreshTime--;
- document.getElementById("counter").innerHTML = refreshTime + 1;
+ document.getElementById("counter").textContent = refreshTime + 1;
}
}
@@ -343,7 +343,7 @@ function startCounter() {
function stopCounter(str) {
clearInterval(refreshInterval);
- document.getElementById("counter").innerHTML = str;
+ document.getElementById("counter").textContent = str;
}
function autoRefresh(e) {