Why block disappears?

This code accepts a socket and displays the block with the error mail, but block after 200-300ms is lost again, help
$('.stop').css({'visibility':'hidden'});
socket.on('warning', () => {
$('.stop').css({'visibility':'visible'});
});
March 23rd 20 at 19:41
0 answer

Find more questions by tags Socket.ioJavaScript