trying to fix issues with mobile-navigation with sockets

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-16 17:06:11 +01:00
parent 8d07cfa772
commit 7412837739
2 changed files with 8 additions and 3 deletions

View File

@@ -117,7 +117,7 @@ var Channel = {
maxWidth: $(window).width()-241
});
if(socket === undefined || Helper.mobilecheck()){
if(socket === undefined){
no_socket = false;
socket = io.connect(''+add+':8080', connection_options);
socket.on('update_required', function(msg) {