Fixes and stuff

This commit is contained in:
calzoneman 2013-04-04 14:56:43 -05:00
parent 362fd0ab23
commit 0e49f06fbf
8 changed files with 79 additions and 5 deletions

View file

@ -189,6 +189,17 @@ function initCallbacks() {
}
});
socket.on("drinkCount", function(data) {
var count = data.count;
if(count != 0) {
$("#drinkcount").text(count + " drinks");
$(".drinkbar").show();
}
else {
$(".drinkbar").hide();
}
});
/* REGION Playlist Stuff */
socket.on("playlist", function(data) {