Fixed so users that has blocked cookies still are able to play

This commit is contained in:
Kasper Rynning-Tønnesen
2018-09-19 22:58:51 +02:00
parent 5dc5590c67
commit 8cd9f8fa5d
7 changed files with 70 additions and 25 deletions

View File

@@ -32,7 +32,6 @@ var Channel = {
}
//Player.soundcloud_player = document.querySelector("#soundcloud_player");
}
List.calculate_song_heights();
Admin.logged_in = false;
Admin.display_logged_out();
@@ -494,7 +493,8 @@ var Channel = {
var add = "";
w_p = true;
//if(private_channel) add = Crypt.getCookie("_uI") + "_";
socket.emit("list", {version: parseInt(localStorage.getItem("VERSION")), channel: add + chan.toLowerCase()});
socket.emit("list", {version: parseInt(_VERSION), channel: add + chan.toLowerCase()});
} else if(url_split[3] === "") {
/*if(client) {
var host = window.location.hostname.split(".");