mirror of https://github.com/zulip/zulip.git
Revert "Start compose when box gains focus, whether by click or tab. Trac #1245."
It makes the stream and subject sometimes not auto-fill when replying. This reverts commit 86603aefbbcd5f766b0c397583483810948046de. (imported from commit 934e991566fa7a082ab8e2ba661ec973bce46b85)
This commit is contained in:
parent
63babd642c
commit
a08ce5023c
|
@ -567,8 +567,8 @@ exports.validate = function () {
|
|||
$(function () {
|
||||
$("#new_message_content").autosize();
|
||||
|
||||
$("#new_message_content").focus(function (e) {
|
||||
// If we click or tab into the composebox, start up a new message
|
||||
$("#new_message_content").click(function (e) {
|
||||
// If we click in the composebox, start up a new message
|
||||
if (!compose.composing()) {
|
||||
respond_to_sent_message = true;
|
||||
if (narrow.narrowed_to_pms()) {
|
||||
|
|
Loading…
Reference in New Issue