Fix Leader bug and Rank bug
This commit is contained in:
parent
728f23a05b
commit
ad705e8779
2 changed files with 10 additions and 3 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue