Prettified Code!

This commit is contained in:
DJ2LS 2023-03-22 22:46:43 +00:00 committed by GitHub Action
parent febd2874e7
commit 93e8c47b16
2 changed files with 633 additions and 636 deletions

View file

@ -1875,11 +1875,9 @@ async function updateAllChat(clear) {
})
.then(async function (result) {
// handle result async
//document.getElementById("blurOverlay").classList.add("bg-primary");
document.getElementById("blurOverlay").style.webkitFilter = "blur(10px)";
//document.getElementById("blurOverlay").classList.add("bg-primary");
document.getElementById("blurOverlay").style.webkitFilter =
"blur(10px)";
if (typeof result !== "undefined") {
for (const item of result.docs) {
@ -1894,14 +1892,13 @@ async function updateAllChat(clear) {
}
}
document.getElementById("blurOverlay").style.webkitFilter = "blur(0px)";
}
)
document.getElementById("blurOverlay").style.webkitFilter =
"blur(0px)";
})
.catch(function (err) {
console.log(err);
document.getElementById("blurOverlay").style.webkitFilter = "blur(0px)";
document.getElementById("blurOverlay").style.webkitFilter =
"blur(0px)";
});
})
.catch(function (err) {

File diff suppressed because it is too large Load diff