On ctrl-enter when editing, focus text input

This commit is contained in:
FriedCaper 2024-10-03 17:03:58 -03:00
parent 1278b5c309
commit 6fc8588a8f
1 changed files with 1 additions and 0 deletions

View File

@ -1027,6 +1027,7 @@ export function initRossMods() {
const editMesDone = $('.mes_edit_done:visible');
if (editMesDone.length > 0) {
console.debug('Accepting edits with Ctrl+Enter');
$('#send_textarea').focus();
editMesDone.trigger('click');
return;
} else if (is_send_press == false) {