Update database_settings.php
This commit is contained in:
@@ -51,7 +51,7 @@ async function update_percentage() {
|
|||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
// Update the percentage on the webpage
|
// Update the percentage on the webpage
|
||||||
percentageElement.innerHTML = "Status: " + data.percentage.toFixed(2) + "%";
|
percentageElement.innerHTML = "Status: " + data.toFixed(2) + "%";
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
// Display error message if request fails
|
// Display error message if request fails
|
||||||
|
|||||||
Reference in New Issue
Block a user