Removed a lot of dead elements when navigating back and forth, and added transition on videoplayer

This commit is contained in:
Kasper Rynning-Tønnesen
2017-04-29 11:35:19 +02:00
parent 2b531039c0
commit d503d3a41b
5 changed files with 21 additions and 12 deletions

View File

@@ -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");