diff --git a/public/src/admin/manage/group.js b/public/src/admin/manage/group.js index 14846f18a7..95e1751ff6 100644 --- a/public/src/admin/manage/group.js +++ b/public/src/admin/manage/group.js @@ -120,7 +120,7 @@ define('admin/manage/group', [ $('[component="groups/members"]').on('click', '[data-action]', function () { var btnEl = $(this); var userRow = btnEl.parents('[data-uid]'); - var ownerFlagEl = userRow.find('.member-name i'); + var ownerFlagEl = userRow.find('.member-name .user-owner-icon'); var isOwner = !ownerFlagEl.hasClass('invisible'); var uid = userRow.attr('data-uid'); var action = btnEl.attr('data-action'); diff --git a/src/views/admin/partials/groups/memberlist.tpl b/src/views/admin/partials/groups/memberlist.tpl index 0b20231739..f7456de2b5 100644 --- a/src/views/admin/partials/groups/memberlist.tpl +++ b/src/views/admin/partials/groups/memberlist.tpl @@ -17,7 +17,7 @@