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

@ -1876,10 +1876,8 @@ async function updateAllChat(clear) {
.then(async function (result) { .then(async function (result) {
// handle result async // handle result async
//document.getElementById("blurOverlay").classList.add("bg-primary"); //document.getElementById("blurOverlay").classList.add("bg-primary");
document.getElementById("blurOverlay").style.webkitFilter = "blur(10px)"; document.getElementById("blurOverlay").style.webkitFilter =
"blur(10px)";
if (typeof result !== "undefined") { if (typeof result !== "undefined") {
for (const item of result.docs) { 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) { .catch(function (err) {
console.log(err); console.log(err);
document.getElementById("blurOverlay").style.webkitFilter = "blur(0px)"; document.getElementById("blurOverlay").style.webkitFilter =
"blur(0px)";
}); });
}) })
.catch(function (err) { .catch(function (err) {

View file

@ -47,7 +47,6 @@
></emoji-picker> ></emoji-picker>
</div> </div>
<div id="blurOverlay" style="-webkit-filter: blur(0px); filter: blur(10px)"> <div id="blurOverlay" style="-webkit-filter: blur(0px); filter: blur(10px)">
<div class="container-fluid"> <div class="container-fluid">
<div class="row h-100"> <div class="row h-100">
<div class="col-4 p-2"> <div class="col-4 p-2">
@ -243,7 +242,10 @@
> >
<i class="bi bi-three-dots-vertical"></i> <i class="bi bi-three-dots-vertical"></i>
</button> </button>
<ul class="dropdown-menu" aria-labelledby="chatSettingsDropDown"> <ul
class="dropdown-menu"
aria-labelledby="chatSettingsDropDown"
>
<li> <li>
<a <a
class="dropdown-item bg-danger text-white" class="dropdown-item bg-danger text-white"
@ -710,8 +712,6 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</body> </body>
</html> </html>