mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed issue with client trying to destroy fireplace when it already was destroyed
This commit is contained in:
4
public/dist/embed.min.js
vendored
4
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/main.min.js
vendored
2
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1600,9 +1600,11 @@ function onepage_load(){
|
|||||||
socket.emit("list", chan.toLowerCase());
|
socket.emit("list", chan.toLowerCase());
|
||||||
}else if(url_split[3] === ""){
|
}else if(url_split[3] === ""){
|
||||||
clearTimeout(width_timeout);
|
clearTimeout(width_timeout);
|
||||||
|
if(fireplace_initiated){
|
||||||
fireplace_initiated = false;
|
fireplace_initiated = false;
|
||||||
Player.fireplace.destroy();
|
Player.fireplace.destroy();
|
||||||
$("#fireplace_player").css("display", "none");
|
$("#fireplace_player").css("display", "none");
|
||||||
|
}
|
||||||
$("#channel-load").css("display", "block");
|
$("#channel-load").css("display", "block");
|
||||||
window.scrollTo(0, 0);
|
window.scrollTo(0, 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user