mirror of https://github.com/zulip/zulip.git
Unfade messages after you manually edit the recipient.
It's pretty confusing if this doesn't change. In some other world we could update the fade, but since we're currently only fading on reply, I think it would be weird to update the fade when you're picking a new recipient. (imported from commit 8f77419d443d578068b57f847354ac6da7632ee2)
This commit is contained in:
parent
1e62ced172
commit
61ee8b1921
|
@ -76,6 +76,14 @@ function process_hotkey(e) {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
// If we just typed a character to change the recipient in the
|
||||
// compose box, this means that we're no longer replying to
|
||||
// whatever the original message was, and we should unfade.
|
||||
if (compose.composing() &&
|
||||
$("#stream:focus,#subject:focus,#private_message_recipient:focus").length > 0) {
|
||||
compose.unfade_messages(true);
|
||||
return false;
|
||||
}
|
||||
// Let the browser handle the key normally.
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue