No reload when deleting chat

This commit is contained in:
cuom1999 2021-06-16 19:39:09 -05:00
parent aaaa49c1e2
commit 47e82adbad

View file

@ -135,9 +135,11 @@
data: elt.data(),
dataType: 'json',
success: function(data){
console.log('delete ajax call success!');
location.reload();
}
elt.closest('li').hide();
},
fail: function(data) {
alert('Fail to delete');
},
});
});
{% endif %}