mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-05 00:13:29 +02:00
Merge branch '3.2.x'
* 3.2.x: [ticket/15149] Fix Ctrl+Submit action on posting
This commit is contained in:
commit
3e18766fd6
@ -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…
x
Reference in New Issue
Block a user