From e9d3fa83e4435668dc0feacc422dc1aec50a60e6 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Tue, 16 Apr 2013 17:23:35 -0500 Subject: [PATCH] Fix userlist (Issue #31) --- www/assets/js/functions.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/www/assets/js/functions.js b/www/assets/js/functions.js index 918bd4c1..6dc14382 100644 --- a/www/assets/js/functions.js +++ b/www/assets/js/functions.js @@ -59,7 +59,8 @@ function fmtUserlistItem(div, rank, leader) { // Adds a dropdown with user actions (promote/demote/leader) function addUserDropdown(entry, name) { - $(entry).find("dropdown").remove(); + $(entry).find(".dropdown").remove(); + $(entry).unbind(); var div = $("
").addClass("dropdown").appendTo(entry); var ul = $("