From 008f757a9b82d61f84705ea6022b273673504854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 2 Nov 2017 13:16:07 -0400 Subject: [PATCH] closes #6030 --- public/src/admin/manage/group.js | 2 +- src/views/admin/partials/groups/memberlist.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@ - {group.members.username} + {group.members.username}