Some more JS clean-up (2nd attempt...)
This commit is contained in:
parent
4f1b1c3294
commit
8ff366ec97
|
@ -27,9 +27,9 @@
|
||||||
// Set the date we're counting down to
|
// Set the date we're counting down to
|
||||||
var countDownDate = new Date("Aug 17, 2021 00:00:00").getTime();
|
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 () {
|
var x = setInterval(function () {
|
||||||
|
|
||||||
// Get today's date and time
|
// Get today's date and time
|
||||||
var now = new Date().getTime();
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user