diff options
author | Choom | 2023-01-15 03:12:48 -0300 |
---|---|---|
committer | Choom | 2023-01-16 14:37:04 -0300 |
commit | 4c31093827f57394563de037a21143407586e384 (patch) | |
tree | b16abeb0dc76e48e11f8c0264fa39ce6294458d2 /static/js/autorefresh.js | |
parent | 44f7397cf7a7596edea78864122b78d59983701e (diff) | |
download | weabot-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.js | 4 |
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) { |