mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/15149] Fix Ctrl+Submit action on posting
PHPBB3-15149
This commit is contained in:
parent
16da17a4ba
commit
6a96249e24
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ function getCaretPosition(txtarea) {
|
|||
|
||||
$('textarea').on('keydown', function (e) {
|
||||
if (e.which === 13 && (e.metaKey || e.ctrlKey)) {
|
||||
$(this).closest('form').submit();
|
||||
$(this).closest('form').find(':submit').click();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue