aboutsummaryrefslogtreecommitdiff
path: root/static/js/autorefresh.js
diff options
context:
space:
mode:
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) {