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:
Reid Barton 2013-01-16 15:52:53 -05:00
parent 6ddbcf4799
commit 949dcbfbc7

View File

@ -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";
}
};