Wall: Fix clipboard pasting in textarea

This commit is contained in:
Celestora 2021-10-13 21:03:08 +03:00
parent c3f44c58ad
commit a01bab1179

View file

@ -75,7 +75,7 @@ u("#wall-post-input").on("paste", function(e) {
var input = u("input[name=_pic_attachment]").nodes[0]; var input = u("input[name=_pic_attachment]").nodes[0];
input.files = e.clipboardData.files; input.files = e.clipboardData.files;
u(fileSelect).trigger("change"); u(input).trigger("change");
} }
}); });