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.

topic_edit: Fix the behaviour of always_visible_topic_edit button.

Nikhil Maske9f5efd208f3d
diff --git a/static/js/message_list.js b/static/js/message_list.js
index 2c916a41aaa..bf1fc71bc34 100644
--- a/static/js/message_list.js
+++ b/static/js/message_list.js
@@ -331,6 +331,7 @@ export class MessageList {
recipient_row.find(".edit_content_button").hide();
recipient_row.find(".stream_topic").hide();
recipient_row.find(".topic_edit").show();
+ recipient_row.find(".always_visible_topic_edit").hide();
}
hide_edit_topic_on_recipient_row(recipient_row) {
@@ -339,6 +340,7 @@ export class MessageList {
recipient_row.find(".edit_content_button").show();
recipient_row.find(".topic_edit_form").empty();
recipient_row.find(".topic_edit").hide();
+ recipient_row.find(".always_visible_topic_edit").show();
}
show_message_as_read(message, options) {