Retroactively add user menus when you become a mod

This commit is contained in:
calzoneman 2013-03-17 20:42:07 -05:00
parent 066c0e9d2e
commit 2f38c4cafc
1 changed files with 4 additions and 0 deletions

View File

@ -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;
});