From 196e226e2cf2c7ea0fd2e8b2c678da3587e4bf1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Preu=C3=9F?= Date: Tue, 10 Aug 2021 21:21:12 +0200 Subject: [PATCH] Add padding between if statements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Preuß --- scripts/pi-hole/js/footer.js | 1 + 1 file changed, 1 insertion(+) 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) + ")");