delete chat without reload entire screen

This commit is contained in:
DJ2LS 2023-08-27 21:10:11 +02:00
parent c39af02e97
commit e1c66c09e7

View file

@ -278,7 +278,8 @@ window.addEventListener("DOMContentLoaded", () => {
.then(function (doc) {
db.remove(doc)
.then(function (doc) {
return location.reload();
updateAllChat(true);
return true;
})
.catch(function (err) {
console.log(err);