From 6d0c607e7879cd7fb9835716ef719aa3a3d6dd7e Mon Sep 17 00:00:00 2001 From: frederik Date: Sun, 1 Dec 2024 15:09:37 +0100 Subject: [PATCH] cleanup: propery close
 tag

---
 scripts/system_controls.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/system_controls.php b/scripts/system_controls.php
index 1f8ab2d..7eb325a 100644
--- a/scripts/system_controls.php
+++ b/scripts/system_controls.php
@@ -34,7 +34,7 @@ $max_upload_size = floor(disk_free_space("$home/BirdNET-Pi/") / 1.001);
 var seconds = 0;
 function update() {
   if(confirm('Are you sure you want to update?')) {
-    setInterval(function(){ seconds += 1; document.getElementById('updatebtn').innerHTML = "Updating: 
"+new Date(seconds * 1000).toISOString().substring(14, 19)+""; }, 1000);
+    setInterval(function(){ seconds += 1; document.getElementById('updatebtn').innerHTML = "Updating: 
"+new Date(seconds * 1000).toISOString().substring(14, 19)+"
"; }, 1000); return true; } else { return false;