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;