stream_ui_updates: Rename btn -> button in CSS classes.

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:43:09 +05:30 committed by Tim Abbott
parent 0158768a91
commit 45eefb1e53
2 changed files with 3 additions and 3 deletions

View File

@ -459,11 +459,11 @@ export function enable_or_disable_add_subscribers_elements(
if (enable_elem) {
$container_elem
.find(".add_all_users_to_stream_btn_container")
.find(".add_all_users_to_stream_button_container")
.removeClass("add_subscribers_disabled");
} else {
$container_elem
.find(".add_all_users_to_stream_btn_container")
.find(".add_all_users_to_stream_button_container")
.addClass("add_subscribers_disabled");
}
} else {

View File

@ -37,7 +37,7 @@
<label class="choose-subscribers-label" for="people_to_add">
<h4 class="stream_setting_subsection_title">{{t "Choose subscribers" }}</h4>
</label>
<span class="add_all_users_to_stream_btn_container">
<span class="add_all_users_to_stream_button_container">
<button class="add_all_users_to_stream small button rounded sea-green">{{t 'Add all users'}}</button>
</span>
<div id="stream_subscription_error" class="stream_creation_error"></div>