Added a prettier loader to embedded players

This commit is contained in:
Kasper Rynning-Tønnesen
2018-09-29 11:34:35 +02:00
parent 695a4f3648
commit ac5ed63cb9
3 changed files with 23 additions and 4 deletions

View File

@@ -193,7 +193,10 @@ function setup_now_playing_listener() {
}
function setup_list_listener() {
socket.on("channel", List.channel_function);
socket.on("channel", function(msg) {
Helper.addClass(".site_loader", "hide");
List.channel_function(msg);
});
}
function setVolume(val) {