aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/assets/javascript/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/assets/javascript/editor.js b/phpBB/assets/javascript/editor.js
index 332ab42e37..23244f5a40 100644
--- a/phpBB/assets/javascript/editor.js
+++ b/phpBB/assets/javascript/editor.js
@@ -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();
}
});
});