From 4f1b1c3294c672adb739d8f83027020a15fcf5a0 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Fri, 13 Aug 2021 14:10:31 -0400 Subject: [PATCH] Revert "Some more JS clean-up" This reverts commit 3cd6d914ed231ce9e574752c57ec9524f9a063c2. --- public/js/die.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/die.js b/public/js/die.js index e06f8a5..ec048fd 100644 --- a/public/js/die.js +++ b/public/js/die.js @@ -28,7 +28,8 @@ var countDownDate = new Date("Aug 17, 2021 00:00:00").getTime(); // Update the count down every 1 second -setInterval(function () { +var x = setInterval(function () { + // Get today's date and time var now = new Date().getTime();