From 2f38c4cafc52dd419c249a3ca4c437b8aa0440e1 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 17 Mar 2013 20:42:07 -0500 Subject: [PATCH] Retroactively add user menus when you become a mod --- www/assets/js/callbacks.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/assets/js/callbacks.js b/www/assets/js/callbacks.js index 94454f37..b84732fd 100644 --- a/www/assets/js/callbacks.js +++ b/www/assets/js/callbacks.js @@ -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; });