mirror of https://github.com/zulip/zulip.git
Refocus in the content box after you change your Enter-sends state.
That way you can continue typing or press Enter to send. (imported from commit 45501211f95657c9a4f6aba4d9cd0c4232d75c63)
This commit is contained in:
parent
df9daf70a2
commit
8e23848384
|
@ -169,6 +169,11 @@ exports.initialize = function () {
|
||||||
} else {
|
} else {
|
||||||
send_button.fadeIn();
|
send_button.fadeIn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Refocus in the content box so you can continue typing or
|
||||||
|
// press Enter to send.
|
||||||
|
$("#new_message_content").focus();
|
||||||
|
|
||||||
return $.ajax({
|
return $.ajax({
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
url: '/json/change_enter_sends',
|
url: '/json/change_enter_sends',
|
||||||
|
|
Loading…
Reference in New Issue