Found more errors left from the doctype html and cleaned it up

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-19 19:23:56 +02:00
parent a3d1157f57
commit 0236624bd6
6 changed files with 19 additions and 6 deletions

View File

@@ -113,7 +113,6 @@ function save(){
function submitAdmin(form)
{
console.log(form);
voting = form.vote.checked;
addsongs = form.addsongs.checked;
longsongs = form.longsongs.checked;

View File

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

View File

@@ -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];

View File

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