mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added fix for frontpage listener not being initiated
This commit is contained in:
6
static/dist/main.min.js
vendored
6
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -341,7 +341,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+':8880', connection_options);
|
||||
if($("#alreadyfp").length === 0 || Helper.mobilecheck()){
|
||||
if($("#alreadyfp").length === 0 || Helper.mobilecheck() || !socket._callbacks.$playlists){
|
||||
setup_playlist_listener();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user