Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

stream_ui_updates: Rename btn -> button in CSS classes.

Sayam Samal45eefb1e5315
diff --git a/web/src/stream_ui_updates.ts b/web/src/stream_ui_updates.ts
index fa9ce31fd50..b9caa410e20 100644
--- a/web/src/stream_ui_updates.ts
+++ b/web/src/stream_ui_updates.ts
@@ -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 {
diff --git a/web/templates/stream_settings/stream_creation_form.hbs b/web/templates/stream_settings/stream_creation_form.hbs
index 7b2bc37e3ec..3e024c2cc0b 100644
--- a/web/templates/stream_settings/stream_creation_form.hbs
+++ b/web/templates/stream_settings/stream_creation_form.hbs
@@ -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>