phpBB

Code Changes

File: assets/javascript/editor.js

  Unmodified   Added   Modified   Removed
Line 417Line 417

$('textarea').on('keydown', function (e) {
if (e.which === 13 && (e.metaKey || e.ctrlKey)) {


$('textarea').on('keydown', function (e) {
if (e.which === 13 && (e.metaKey || e.ctrlKey)) {

				$(this).closest('form').submit();

				$(this).closest('form').find(':submit').click();

			}
});
});

			}
});
});