settings: Rename btn -> button in #add-custom-profile-field-btn.

This commit is a part of the efforts to rename btn-related classes
and variables to align with Zulip's no-abbreviations policy and
streamline the search results.
This commit is contained in:
Sayam Samal
2024-11-13 19:41:10 +05:30
committed by Tim Abbott
parent 650076b027
commit 0158768a91
4 changed files with 4 additions and 4 deletions

View File

@@ -817,7 +817,7 @@ export function build_page(): void {
meta.loaded = true;
$("#admin_profile_fields_table").on("click", ".delete", delete_profile_field);
$("#add-custom-profile-field-btn").on("click", open_custom_profile_field_form_modal);
$("#add-custom-profile-field-button").on("click", open_custom_profile_field_form_modal);
$("#admin_profile_fields_table").on("click", ".open-edit-form-modal", open_edit_form_modal);
$("#admin_profile_fields_table").on(
"click",