mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
Fix inverted logic for autofocus field in set_mode
This meant that the "New stream message" button would focus the wrong text field. (imported from commit 5e34f0fb936b94b8c1515e915e8059d19feba45e)
This commit is contained in:
parent
6ddbcf4799
commit
949dcbfbc7
@ -207,7 +207,7 @@ exports.set_mode = function (mode) {
|
||||
show('private', $("#private_message_recipient"));
|
||||
is_composing_message = "private";
|
||||
} else {
|
||||
show('stream', $(lurk_stream !== undefined ? "#stream" : "#subject"));
|
||||
show('stream', $(lurk_stream !== undefined ? "#subject" : "#stream"));
|
||||
is_composing_message = "stream";
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user