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.

inline_topic_edit: Change ID->Class since multiple instances can exist.

Sayam Samal8935abec164b
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index f2b59326ab0..6b0d223e4fd 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -917,7 +917,7 @@ div.focused-message-list.is-conversation-view .recipient_row {
}
}
-#topic_edit_form {
+.topic_edit_form {
display: flex;
align-items: center;
gap: 3px;
diff --git a/web/templates/topic_edit_form.hbs b/web/templates/topic_edit_form.hbs
index 5156f2cf822..28691800fd3 100644
--- a/web/templates/topic_edit_form.hbs
+++ b/web/templates/topic_edit_form.hbs
@@ -1,6 +1,6 @@
{{! Client-side Handlebars template for rendering the topic edit form. }}
-<form id="topic_edit_form">
+<form class="topic_edit_form">
<input type="text" value="" autocomplete="off" maxlength="{{ max_topic_length }}"
class="inline_topic_edit header-v {{#unless realm_mandatory_topics}}empty-topic-placeholder-display{{/unless}}"
{{#unless realm_mandatory_topics}}placeholder="{{empty_string_topic_display_name}}"{{/unless}} />