Make nominations timer value more readable
Change-Id: I6d789d1717f510be11f104fcb3460c983c926223
This commit is contained in:
parent
053926e5cc
commit
04500ac003
@ -8,7 +8,7 @@ function startTime() {
|
|||||||
var hours = parseInt(delta / 3600) % 24;
|
var hours = parseInt(delta / 3600) % 24;
|
||||||
var minutes = parseInt( delta / 60 ) % 60;
|
var minutes = parseInt( delta / 60 ) % 60;
|
||||||
var seconds = delta % 60;
|
var seconds = delta % 60;
|
||||||
document.getElementById('eventtimer').innerHTML = days+'d'+hours+'h'+minutes+'m'+seconds+'s';
|
document.getElementById('eventtimer').innerHTML = days+'d '+hours+'h '+minutes+'m '+seconds+'s';
|
||||||
var t = setTimeout(startTime, 500);
|
var t = setTimeout(startTime, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user