mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
compose: Rename functions to reflect attention level.
This commit is contained in:
@@ -599,10 +599,10 @@ export function initialize() {
|
||||
compose_recipient.update_topic_displayed_text($input.val(), true);
|
||||
compose_recipient.update_compose_area_placeholder_text();
|
||||
// Once the topic input has been focused, we no longer treat
|
||||
// the recipient row as muted, as we assume the user is
|
||||
// doing something that requires keeping attention called
|
||||
// the recipient row as low attention, as we assume the user
|
||||
// has done something that requires keeping attention called
|
||||
// to the recipient row
|
||||
compose_recipient.unmute_recipient_row();
|
||||
compose_recipient.set_high_attention_recipient_row();
|
||||
|
||||
$("input#stream_message_recipient_topic").one("blur", () => {
|
||||
compose_recipient.update_topic_displayed_text($input.val());
|
||||
@@ -616,10 +616,10 @@ export function initialize() {
|
||||
|
||||
$("#private_message_recipient").on("focus", () => {
|
||||
// Once the DM input has been focused, we no longer treat
|
||||
// the recipient row as muted, as we assume the user is
|
||||
// doing something that requires keeping attention called
|
||||
// the recipient row as low attention, as we assume the user
|
||||
// has done something that requires keeping attention called
|
||||
// to the recipient row
|
||||
compose_recipient.unmute_recipient_row();
|
||||
compose_recipient.set_high_attention_recipient_row();
|
||||
});
|
||||
|
||||
$("body").on("click", ".formatting_button", function (e) {
|
||||
|
||||
Reference in New Issue
Block a user