removed screen blurred while loading messages

This commit is contained in:
DJ2LS 2023-03-22 23:51:56 +01:00
parent 104b3d31d9
commit 5f8ddbe800
2 changed files with 0 additions and 9 deletions

View file

@ -1876,8 +1876,6 @@ 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)";
if (typeof result !== "undefined") { if (typeof result !== "undefined") {
for (const item of result.docs) { for (const item of result.docs) {
@ -1891,14 +1889,9 @@ async function updateAllChat(clear) {
}); });
} }
} }
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)";
}); });
}) })
.catch(function (err) { .catch(function (err) {

View file

@ -46,7 +46,6 @@
data-source="../node_modules/emoji-picker-element-data/en/emojibase/data.json" data-source="../node_modules/emoji-picker-element-data/en/emojibase/data.json"
></emoji-picker> ></emoji-picker>
</div> </div>
<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">
@ -712,6 +711,5 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</body> </body>
</html> </html>