From 8ff366ec977993bbdb9448309b5fd9eeb7517170 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Fri, 13 Aug 2021 14:11:43 -0400 Subject: [PATCH] Some more JS clean-up (2nd attempt...) --- public/js/die.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/die.js b/public/js/die.js index ec048fd..714f474 100644 --- a/public/js/die.js +++ b/public/js/die.js @@ -27,9 +27,9 @@ // Set the date we're counting down to var countDownDate = new Date("Aug 17, 2021 00:00:00").getTime(); -// Update the count down every 1 second +// Update the count down every 1 second (var x is needed for +// clearInterval() later) var x = setInterval(function () { - // Get today's date and time var now = new Date().getTime();