From e40846ef4e4659374bd8859991a7176bf3c11c39 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Tue, 30 Jan 2024 19:50:34 +0530 Subject: [PATCH] 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. --- web/src/user_group_edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/user_group_edit.js b/web/src/user_group_edit.js index b2e4438429..58fed06dbc 100644 --- a/web/src/user_group_edit.js +++ b/web/src/user_group_edit.js @@ -277,7 +277,7 @@ export function show_settings_for(group) { }); 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)) { initialize_tooltip_for_membership_button(group.id);