mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 12:30:42 +02:00
[ticket/15149] Fix Ctrl+Submit action on posting
PHPBB3-15149
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user