Retroactively add user menus when you become a mod
This commit is contained in:
parent
066c0e9d2e
commit
2f38c4cafc
|
@ -40,6 +40,10 @@ function initCallbacks() {
|
|||
socket.emit('closePoll')
|
||||
});
|
||||
}
|
||||
var users = $('#userlist').children();
|
||||
for(var i = 0; i < users.length; i++) {
|
||||
addUserDropdown(users[i], users[i].children[1].innerHTML);
|
||||
}
|
||||
}
|
||||
RANK = data.rank;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue