fix(wall): ctrl+enter didn't saved attachments

This commit is contained in:
mrilyew 2024-11-22 13:12:59 +03:00
parent ba2d929183
commit da6ce237f4

View file

@ -461,7 +461,7 @@ u(document).on('click', '#videoOpen', (e) => {
u(document).on("keydown", "#write > form", function(event) { u(document).on("keydown", "#write > form", function(event) {
if(event.ctrlKey && event.keyCode === 13) if(event.ctrlKey && event.keyCode === 13)
this.submit(); u(event.target).closest('form').find(`input[type='submit']`).nodes[0].click()
}); });
u(document).on('keydown', '.edit_menu #write', (e) => { u(document).on('keydown', '.edit_menu #write', (e) => {