Skip to content

Commit

Permalink
Disable image from clipboard paste in file upload.
Browse files Browse the repository at this point in the history
This results in large png image.
  • Loading branch information
kabalin committed Nov 29, 2023
1 parent 0178126 commit d2a99fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/module/user/photoUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ define(['underscore', 'Browser', 'Utils', 'socket!', 'Params', 'knockout', 'knoc
this.$fileupload.fileupload('option', {
url: '/upload',
dropZone: $(document), //this.$dom.find('.addfiles_area'),
pasteZone: $(document),
pasteZone: null,
singleFileUploads: true,
sequentialUploads: false,
limitConcurrentUploads: 3,
Expand Down

0 comments on commit d2a99fa

Please sign in to comment.