mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
delete chat without reload entire screen
This commit is contained in:
parent
c39af02e97
commit
e1c66c09e7
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue