Skip to content

Commit

Permalink
timer
Browse files Browse the repository at this point in the history
  • Loading branch information
reccho committed Nov 21, 2024
1 parent d7b01be commit 16353c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wedding/scripts/countdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var countdownInterval = setInterval(function() {
const seconds = Math.floor((timeRemain % (1000 * 60)) / 1000);

//document.getElementById("countdown").innerHTML = days + " days & " + hours + " hours";
document.getElementById("countdown").innerHTML = days + " days, " + hours + " hours, " + minutes + "minutes, " + seconds + " seconds";
document.getElementById("countdown").innerHTML = days + " days, " + hours + " hours, " + minutes + " minutes, " + seconds + " seconds";

if (timeRemain < 0) {
clearInterval(x);
Expand Down

0 comments on commit 16353c6

Please sign in to comment.