Skip to content

Commit d2a99fa

Browse files
committed
Disable image from clipboard paste in file upload.
This results in large png image.
1 parent 0178126 commit d2a99fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/module/user/photoUpload.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ define(['underscore', 'Browser', 'Utils', 'socket!', 'Params', 'knockout', 'knoc
9898
this.$fileupload.fileupload('option', {
9999
url: '/upload',
100100
dropZone: $(document), //this.$dom.find('.addfiles_area'),
101-
pasteZone: $(document),
101+
pasteZone: null,
102102
singleFileUploads: true,
103103
sequentialUploads: false,
104104
limitConcurrentUploads: 3,

0 commit comments

Comments
 (0)