diff --git a/scripts/pi-hole/js/footer.js b/scripts/pi-hole/js/footer.js index a1238e3e..ffbf6844 100644 --- a/scripts/pi-hole/js/footer.js +++ b/scripts/pi-hole/js/footer.js @@ -51,6 +51,7 @@ function countDown() { ena.text("Enable"); return; } + if (seconds > 0) { setTimeout(countDown, 1000); ena.text("Enable (" + secondsTimeSpanToHMS(seconds) + ")");