Moved sorting of lists clientside, and added animation when a song is deleted or added

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-10 17:15:14 +02:00
parent 37ed3529c5
commit d299eb7bb4
4 changed files with 138 additions and 50 deletions

View File

@@ -67,7 +67,7 @@ socket.on("pw", function(msg)
socket.on(chan.toLowerCase()+",conf", function(msg)
{
populate_list(msg, true);
set_conf(msg[0]);
});
$('input[class=conf]').change(function()
@@ -126,7 +126,6 @@ function submitAdmin(form)
shuffling = form.shuffle.checked;
configs = [voting, addsongs, longsongs, frontpage, allvideos, removeplay, adminpass, skipping, shuffling];
console.log(configs);
socket.emit("conf", configs);
}