mirror of
https://github.com/openvk/openvk
synced 2024-12-22 08:31:18 +03:00
fix(wall): ctrl+enter didn't saved attachments
This commit is contained in:
parent
ba2d929183
commit
da6ce237f4
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ u(document).on('click', '#videoOpen', (e) => {
|
|||
|
||||
u(document).on("keydown", "#write > form", function(event) {
|
||||
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) => {
|
||||
|
|
Loading…
Reference in a new issue