fixed error when browser is updated

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-24 11:32:51 +01:00
parent 2fc3efdc2b
commit f0ffc3d763
3 changed files with 16 additions and 12 deletions

View File

@@ -45,7 +45,6 @@ var connection_options = {
if(window.location.hostname == "zoff.no") add = "dev.zoff.no";
else add = "localhost";
var socket = io.connect('http://'+add+':8880', connection_options);
socket.on("get_list", function(){
socket.emit('list', chan.toLowerCase());