diff --git a/scripts/js/footer.js b/scripts/js/footer.js index a6bddcf8..24533bf4 100644 --- a/scripts/js/footer.js +++ b/scripts/js/footer.js @@ -615,7 +615,7 @@ $(() => { } const enaT = $("#enableTimer"); - const target = new Date(Math.trunc(enaT.text())); + const target = new Date(Math.trunc(Number(enaT.text()))); const seconds = Math.round((target.getTime() - Date.now()) / 1000); if (seconds > 0) { setTimeout(countDown, 100);