forked from MarseyWorld/MarseyWorld
testing on devrama
parent
56d1d7ccfe
commit
03ae77f26b
|
@ -190,7 +190,7 @@ socket.on('typing', function (users){
|
|||
|
||||
function del(t) {
|
||||
t.parentElement.parentElement.parentElement.parentElement.parentElement.remove()
|
||||
const text = t.previousElementSibling.previousElementSibling.innerHTML
|
||||
const text = t.previousElementSibling.previousElementSibling.previousElementSibling.innerHTML
|
||||
console.log(text)
|
||||
socket.emit('delete', text);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue