Working mongoose version

This commit is contained in:
Kasper Rynning-Tønnesen
2017-02-21 17:07:42 +01:00
parent 3006237805
commit 87d74c0100
7 changed files with 59 additions and 45 deletions

View File

@@ -388,6 +388,7 @@ function initfp(){
if(window.location.hostname == "zoff.no") add = "https://zoff.no";
else add = window.location.hostname;
if(socket === undefined || Helper.mobilecheck()) socket = io.connect(''+add+':8080', connection_options);
window.socket = socket;
if($("#alreadyfp").length === 0 || Helper.mobilecheck() || !socket._callbacks.$playlists){
setup_playlist_listener();
}