sconsult / croppic

croppic
914 stars 228 forks source link

onAfterImgUpload callback fires twice #257

Open cesantos84 opened 7 years ago

cesantos84 commented 7 years ago

I found this issue and it's affecting my callback function because it ends up firing twice after uploading. I have been able to replicate this issue from the demo using the 'minimal controls' example. When viewing console you can see the duplicate console output from onAfterImgUpload.