mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Found more errors left from the doctype html and cleaned it up
This commit is contained in:
@@ -70,7 +70,6 @@
|
||||
var socket = io.connect('//'+window.location.hostname+':3000');
|
||||
var guid = "<?php echo $guid; ?>";
|
||||
socket.on("get_list", function(){
|
||||
console.log("get_list");
|
||||
socket.emit('list', '<?php echo $list; ?>,'+guid);
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -555,7 +555,9 @@ ul #chat-log{
|
||||
}
|
||||
.switch{
|
||||
display: inline;
|
||||
float: right;
|
||||
/*float: right;*/
|
||||
position: absolute;
|
||||
right:10px;
|
||||
}
|
||||
.switch label .lever {
|
||||
background-color: #00B2FF;
|
||||
@@ -723,6 +725,15 @@ ul #chat-log{
|
||||
position: absolute !important;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.page-footer{
|
||||
margin-top:40px !important;
|
||||
}
|
||||
|
||||
.main, #main-row, .video-container, #playlist{
|
||||
height:100% !important;
|
||||
}
|
||||
|
||||
.control-list li a{ min-width: 0px; width: 37px; padding: 0 0 0 5px;}
|
||||
|
||||
nav .zbrand{
|
||||
@@ -734,6 +745,11 @@ ul #chat-log{
|
||||
width: calc(100% - 100px);
|
||||
}
|
||||
|
||||
#search_loader{
|
||||
margin-left: -75px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.title-container{
|
||||
background-color: rgba(0,0,0,0.1);
|
||||
display: inline-block;
|
||||
|
||||
@@ -113,7 +113,6 @@ function save(){
|
||||
|
||||
function submitAdmin(form)
|
||||
{
|
||||
console.log(form);
|
||||
voting = form.vote.checked;
|
||||
addsongs = form.addsongs.checked;
|
||||
longsongs = form.longsongs.checked;
|
||||
|
||||
@@ -17,7 +17,6 @@ function chat(data)
|
||||
setup_chat_listener(chan);
|
||||
|
||||
document.getElementById("chat-btn").addEventListener("click", function(){
|
||||
console.log("clicked");
|
||||
$("#text-chat-input").focus();
|
||||
//$("#chat-btn").css("color", "white");
|
||||
$("#chat-btn i").css("opacity", 1);
|
||||
|
||||
@@ -21,7 +21,7 @@ socket.on(chan.toLowerCase(), function(msg){
|
||||
|
||||
function channel_function(msg)
|
||||
{
|
||||
console.log(msg);
|
||||
//console.log(msg);
|
||||
if(msg[0] == "list")
|
||||
{
|
||||
full_playlist = msg[1];
|
||||
|
||||
@@ -27,7 +27,7 @@ function setup_youtube_listener(channel)
|
||||
{
|
||||
socket.on("np", function(obj)
|
||||
{
|
||||
console.log(obj);
|
||||
//console.log(obj);
|
||||
if(obj[0].length == 0){
|
||||
console.log("Empty list");
|
||||
document.getElementById('song-title').innerHTML = "Empty channel. Add some songs!";
|
||||
|
||||
Reference in New Issue
Block a user