user_group_edit: Do not pass unused parameter to function.

There is no need to pass group as parameter to
update_toggler_for_group_setting.
This commit is contained in:
Sahil Batra 2024-01-30 19:50:34 +05:30 committed by Tim Abbott
parent aeeea453dd
commit e40846ef4e
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ export function show_settings_for(group) {
}); });
scroll_util.get_content_element($("#user_group_settings")).html(html); scroll_util.get_content_element($("#user_group_settings")).html(html);
update_toggler_for_group_setting(group); update_toggler_for_group_setting();
if (!settings_data.can_edit_user_group(group.id)) { if (!settings_data.can_edit_user_group(group.id)) {
initialize_tooltip_for_membership_button(group.id); initialize_tooltip_for_membership_button(group.id);