On ctrl-enter when editing, focus text input
This commit is contained in:
parent
1278b5c309
commit
6fc8588a8f
|
@ -1027,6 +1027,7 @@ export function initRossMods() {
|
||||||
const editMesDone = $('.mes_edit_done:visible');
|
const editMesDone = $('.mes_edit_done:visible');
|
||||||
if (editMesDone.length > 0) {
|
if (editMesDone.length > 0) {
|
||||||
console.debug('Accepting edits with Ctrl+Enter');
|
console.debug('Accepting edits with Ctrl+Enter');
|
||||||
|
$('#send_textarea').focus();
|
||||||
editMesDone.trigger('click');
|
editMesDone.trigger('click');
|
||||||
return;
|
return;
|
||||||
} else if (is_send_press == false) {
|
} else if (is_send_press == false) {
|
||||||
|
|
Loading…
Reference in New Issue