diff --git a/web/src/user_group_edit.ts b/web/src/user_group_edit.ts index 153bf90160..7be757fdb0 100644 --- a/web/src/user_group_edit.ts +++ b/web/src/user_group_edit.ts @@ -1257,7 +1257,7 @@ function display_membership_toggle_spinner($group_row: JQuery): void { $group_row.find(".check").removeClass("join_leave_button"); /* Hide the tick. */ - const $tick = $group_row.find("svg"); + const $tick = $group_row.find(".sub-unsub-icon"); $tick.addClass("hide"); /* Add a spinner to show the request is in process. */ @@ -1271,7 +1271,7 @@ function hide_membership_toggle_spinner($group_row: JQuery): void { $group_row.find(".check").addClass("join_leave_button"); /* Show the tick. */ - const $tick = $group_row.find("svg"); + const $tick = $group_row.find(".sub-unsub-icon"); $tick.removeClass("hide"); /* Destroy the spinner. */ diff --git a/web/templates/user_group_settings/browse_user_groups_list_item.hbs b/web/templates/user_group_settings/browse_user_groups_list_item.hbs index 3e502238a2..1424453318 100644 --- a/web/templates/user_group_settings/browse_user_groups_list_item.hbs +++ b/web/templates/user_group_settings/browse_user_groups_list_item.hbs @@ -35,9 +35,7 @@ {{/if}} - - - +
@@ -68,9 +66,7 @@ {{/if}} - - - +