Fixes and stuff
This commit is contained in:
parent
362fd0ab23
commit
0e49f06fbf
8 changed files with 79 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue