diff --git a/static/showcases/countdown.html b/static/showcases/countdown.html index 120e26e..0aadd2b 100644 --- a/static/showcases/countdown.html +++ b/static/showcases/countdown.html @@ -138,14 +138,14 @@

Display Countdown

let diff = totalInMilliseconds; // Calculate days, hours, minutes, and seconds - let days = Math.floor(diff / (DAYS)); - diff -= days * (DAYS); + let days = Math.floor(diff / DAYS); + diff -= days * DAYS; - let hours = Math.floor(diff / (HOURS)); - diff -= hours * (HOURS); + let hours = Math.floor(diff / HOURS); + diff -= hours * HOURS; - let minutes = Math.floor(diff / (MINUTES)); - diff -= minutes * (MINUTES); + let minutes = Math.floor(diff / MINUTES); + diff -= minutes * MINUTES; let seconds = Math.floor(diff / SECONDS_IN_MS);