mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-10 11:35:34 +00:00
Removed a lot of dead elements when navigating back and forth, and added transition on videoplayer
This commit is contained in:
@@ -293,6 +293,7 @@ var Frontpage = {
|
||||
socket.removeAllListeners();
|
||||
}
|
||||
$("body").css("background-color", "#2d2d2d");
|
||||
$("#offline-mode").tooltip("remove");
|
||||
$.ajax({
|
||||
url: new_channel + "/public/php/index.php",
|
||||
|
||||
@@ -417,7 +418,6 @@ function initfp(){
|
||||
tooltip: "Enable private mode"
|
||||
});
|
||||
}
|
||||
|
||||
socket.emit('frontpage_lists');
|
||||
|
||||
$("#channel-load").css("display", "none");
|
||||
|
||||
@@ -1573,8 +1573,15 @@ function onepage_load(){
|
||||
Admin.beginning = true;
|
||||
began = false;
|
||||
durationBegun = false;
|
||||
$("#embed-button").css("display", "none");
|
||||
|
||||
$("#embed-button").css("display", "none");
|
||||
$('.castButton-active').tooltip("remove");
|
||||
$("#viewers").tooltip("remove");
|
||||
$('.castButton-unactive').tooltip("remove");
|
||||
$("#offline-mode").tooltip("remove");
|
||||
$('#chan_thumbnail').tooltip("remove");
|
||||
$('#admin-lock').tooltip("remove");
|
||||
$("#seekToDuration").remove();
|
||||
$.ajax({
|
||||
url: "public/php/frontpage.php",
|
||||
success: function(e){
|
||||
|
||||
Reference in New Issue
Block a user