diff --git a/src_assets/common/assets/web/pin.html b/src_assets/common/assets/web/pin.html index 1bb3091b9e6..24bee6aca5a 100644 --- a/src_assets/common/assets/web/pin.html +++ b/src_assets/common/assets/web/pin.html @@ -89,7 +89,7 @@

Paired Clients

for (const unpairOption of clientList.querySelectorAll(".unpair")) { unpairOption.addEventListener("click", () => { fetch("/api/clients/unpair-single", { method: "POST", body: JSON.stringify({ uniqueid: unpairOption.dataset.uniqueid }) }).then(() => { - document.querySelector("#apply-alert").style.display = ""; + document.querySelector("#apply-alert").style.setProperty('display', 'flex', 'important'); refreshClients(); }); }); @@ -100,7 +100,7 @@

Paired Clients

document.querySelector("#client-refresh").addEventListener("click", refreshClients); document.querySelector("#apply-alert .apply").addEventListener("click", () => { - document.querySelector("#apply-alert").style.display = "none!important"; + document.querySelector("#apply-alert").style.setProperty('display', 'none', 'important'); fetch("/api/restart", { method: "POST" }); }); \ No newline at end of file