|
|
|
@ -106,9 +106,9 @@ var x = setInterval(function() {
|
|
|
|
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
|
|
|
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
|
|
|
|
|
|
|
|
|
// Display the result in the element with id="demo"
|
|
|
|
|
document.getElementById("demo").innerHTML = days + " d| " + hours + " h| "
|
|
|
|
|
+ minutes + " m| " + seconds + " s ";
|
|
|
|
|
// Display the result in the element with id="demo"
|
|
|
|
|
document.getElementById("demo").innerHTML = days + "d " + hours + "h "
|
|
|
|
|
+ minutes + "m " + seconds + "s ";
|
|
|
|
|
|
|
|
|
|
// If the count down is finished, write some text
|
|
|
|
|
if (distance < 0) {
|
|
|
|
|