Browse Source

fix second tick index.html

pull/498/head
lumapu 2 years ago
parent
commit
e5a40673fd
  1. 3
      src/web/html/index.html

3
src/web/html/index.html

@ -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);
}

Loading…
Cancel
Save