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.

compose: Rename show_box to show_compose_box.

evykassirer0524e1b40dda
diff --git a/static/js/compose_actions.js b/static/js/compose_actions.js
index 1dc51d05a8a..378b7bf4a53 100644
--- a/static/js/compose_actions.js
+++ b/static/js/compose_actions.js
@@ -78,8 +78,7 @@ export function set_focus(msg_type, opts) {
}
}
-// Show the compose box.
-function show_box(msg_type, opts) {
+function show_compose_box(msg_type, opts) {
if (msg_type === "stream") {
$("#private-message").hide();
$("#stream-message").show();
@@ -313,7 +312,7 @@ export function start(msg_type, opts) {
compose_state.set_message_type(msg_type);
// Show either stream/topic fields or "You and" field.
- show_box(msg_type, opts);
+ show_compose_box(msg_type, opts);
// Show a warning if topic is resolved
compose_validate.warn_if_topic_resolved(true);