mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
Expand the compose box in the correct mode when narrowed to PMs.
(imported from commit 68e4bb3091b855dafda8df3ca10737abb5d2f337)
This commit is contained in:
@@ -555,7 +555,11 @@ $(function () {
|
||||
$("#new_message_content").click(function (e) {
|
||||
// If we click in the composebox, start up a new message
|
||||
if (!compose.composing()) {
|
||||
compose.set_mode('stream');
|
||||
if (narrow.narrowed_to_pms()) {
|
||||
compose.set_mode('private');
|
||||
} else {
|
||||
compose.set_mode('stream');
|
||||
}
|
||||
e.stopPropagation();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user