Fixed Ctrl+Enter submission not working anymore either.

This commit is contained in:
flash 2024-01-25 00:18:56 +00:00
parent ddb255bf32
commit 4b2f9a2fec

View file

@ -56,7 +56,7 @@
// can probably be done in a less stupid manner // can probably be done in a less stupid manner
MszForumEditorAllowClose = true; MszForumEditorAllowClose = true;
elem.submit(); elem.form.submit();
ev.preventDefault(); ev.preventDefault();
} }
}); });