mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed issue with hostmode navigating and embedded issue
This commit is contained in:
@@ -535,6 +535,11 @@ var Channel = {
|
|||||||
window.location.hostname = host[host.length -1];
|
window.location.hostname = host[host.length -1];
|
||||||
}*/
|
}*/
|
||||||
Admin.display_logged_out();
|
Admin.display_logged_out();
|
||||||
|
if(hostMode) {
|
||||||
|
Helper.removeClass("#main-row", "fullscreened");
|
||||||
|
document.querySelector(".host_switch_class").checked = false
|
||||||
|
enable_host_mode(false);
|
||||||
|
}
|
||||||
var channel_before_move = chan.toLowerCase();
|
var channel_before_move = chan.toLowerCase();
|
||||||
clearTimeout(timed_remove_check);
|
clearTimeout(timed_remove_check);
|
||||||
changing_to_frontpage = true;
|
changing_to_frontpage = true;
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ var song_title = "";
|
|||||||
var paused = false;
|
var paused = false;
|
||||||
var client = false;
|
var client = false;
|
||||||
var startTime = 0;
|
var startTime = 0;
|
||||||
|
var hostMode = false;
|
||||||
var socket_connected = false;
|
var socket_connected = false;
|
||||||
var dynamicListeners = {};
|
var dynamicListeners = {};
|
||||||
var player_ready = false;
|
var player_ready = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user