mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
compose: Rename placeholder update function for clarity.
This commit is contained in:
@@ -582,7 +582,7 @@ export function initialize() {
|
||||
});
|
||||
|
||||
$("textarea#compose-textarea").on("focus", () => {
|
||||
compose_recipient.update_placeholder_text();
|
||||
compose_recipient.update_compose_area_placeholder_text();
|
||||
if (narrow_state.narrowed_by_reply()) {
|
||||
compose_notifications.maybe_show_one_time_non_interleaved_view_messages_fading_banner();
|
||||
} else {
|
||||
@@ -604,11 +604,11 @@ export function initialize() {
|
||||
});
|
||||
|
||||
$("input#stream_message_recipient_topic").on("focus", () => {
|
||||
compose_recipient.update_placeholder_text();
|
||||
compose_recipient.update_compose_area_placeholder_text();
|
||||
});
|
||||
|
||||
$("input#stream_message_recipient_topic").on("input", () => {
|
||||
compose_recipient.update_placeholder_text();
|
||||
compose_recipient.update_compose_area_placeholder_text();
|
||||
});
|
||||
|
||||
$("body").on("click", ".formatting_button", function (e) {
|
||||
|
||||
Reference in New Issue
Block a user