Fix Leader bug and Rank bug

This commit is contained in:
calzoneman 2013-02-16 16:33:38 -06:00
parent 728f23a05b
commit ad705e8779
2 changed files with 10 additions and 3 deletions

View file

@ -165,6 +165,10 @@ function initCallbacks() {
else {
sendVideoUpdate = function() { }
}
RANK = data.rank;
if(data.rank >= Rank.Moderator)
$('#playlist_controls').css("display", "block");
}
var users = $('#userlist').children();
for(var i = 0; i < users.length; i++) {