fix second tick index.html

This commit is contained in:
lumapu 2022-12-14 22:37:21 +01:00
parent 49b530a743
commit e5a40673fd

View file

@ -191,9 +191,10 @@
}
function tick() {
++tickCnt;
if(0 != ts)
document.getElementById("date").innerHTML = (new Date((ts+tickCnt) * 1000)).toLocaleString('de-DE');
if(++tickCnt >= 10) {
if(tickCnt >= 10) {
tickCnt = 0;
getAjax('/api/index', parse);
}