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:
@@ -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