Trying fix for dead listeners

This commit is contained in:
Kasper Rynning-Tønnesen
2017-09-08 14:51:47 +02:00
parent 5702b4cf8a
commit 94e041e002
4 changed files with 31 additions and 4 deletions

View File

@@ -151,6 +151,12 @@ $().ready(function(){
}
});
socket.on("self_ping", function() {
if(chan != undefined && chan.toLowerCase() != "") {
socket.emit("self_ping", {channel: chan.toLowerCase()});
}
});
setup_no_connection_listener();
try{