This commit is contained in:
Aevann1 2021-10-06 01:41:55 +02:00
parent ade27e2ad6
commit 9b18e87e92
7 changed files with 44 additions and 74 deletions

View file

@ -109,12 +109,8 @@ function delete_commentModal(id) {
this.innerHTML='<span class="spinner-border spinner-border-sm mr-2" role="status" aria-hidden="true"></span>Deleting comment';
this.disabled = true;
post('/delete/comment/' + id,
callback = function() {
location.reload();
}
)
post('/delete/comment/' + id)
location.reload();
}
};