Reformat code

This commit is contained in:
Cohee 2023-08-05 15:44:15 +03:00
parent ea809023b5
commit 58f7c77281
1 changed files with 2 additions and 2 deletions

View File

@ -887,7 +887,7 @@ async function getStatus() {
// We didn't get a 200 status code, but the endpoint has an explanation. Which means it DID connect, but I digress.
if (online_status == "no_connection" && data.response) {
toastr.error(data.response, "API Error", {timeOut: 5000, preventDuplicates:true})
toastr.error(data.response, "API Error", { timeOut: 5000, preventDuplicates: true })
}
//console.log(online_status);
@ -7725,7 +7725,7 @@ $(document).ready(function () {
const enabled = $("#use-mancer-api-checkbox").prop("checked");
$("#mancer-api-ui").toggle(enabled);
api_use_mancer_webui = enabled;
saveSettingsDebounced();
saveSettingsDebounced();
getStatus();
});