From 0dd7339bec0d92638c3f48ad596a05370826b889 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 28 Mar 2014 14:10:14 -0400 Subject: [PATCH] fixed admin/users banning/admin --- public/src/forum/admin/users.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/src/forum/admin/users.js b/public/src/forum/admin/users.js index 1e25210ee7..b25fa7d435 100644 --- a/public/src/forum/admin/users.js +++ b/public/src/forum/admin/users.js @@ -222,7 +222,8 @@ define(function() { function onUsersLoaded(users) { ajaxify.loadTemplate('admin/users', function(adminUsers) { - $('#users-container').append($(templates.parse(templates.getBlock(adminUsers, 'users'), {users: users}))); + var html = $(templates.parse(templates.getBlock(adminUsers, 'users'), {users: users})); + $('#users-container').append(html); updateUserBanButtons(html.find('.ban-btn')); updateUserAdminButtons(html.find('.admin-btn')); });