Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
topic_edit: Remove show/hide logic on edit button.
Karl Stolleyaecd3dff7db9
diff --git a/web/src/message_list.ts b/web/src/message_list.tsindex 619c88840fd..64d2a9ad87c 100644--- a/web/src/message_list.ts+++ b/web/src/message_list.ts@@ -540,7 +540,6 @@ export class MessageList {show_edit_topic_on_recipient_row($recipient_row: JQuery, $form: JQuery): void {$recipient_row.find(".topic_edit_form").append($form);$recipient_row.find(".on_hover_topic_edit").hide();- $recipient_row.find(".edit_message_button").hide();$recipient_row.find(".stream_topic").hide();$recipient_row.find(".topic_edit").show();$recipient_row.find(".always_visible_topic_edit").hide();@@ -551,7 +550,6 @@ export class MessageList {hide_edit_topic_on_recipient_row($recipient_row: JQuery): void {$recipient_row.find(".stream_topic").show();$recipient_row.find(".on_hover_topic_edit").show();- $recipient_row.find(".edit_message_button").show();$recipient_row.find(".topic_edit_form").empty();$recipient_row.find(".topic_edit").hide();$recipient_row.find(".always_visible_topic_edit").show();