pekeUpload icon indicating copy to clipboard operation
pekeUpload copied to clipboard

Image keeps adding themself when some other field in document changed

Open perkthefox opened this issue 6 years ago • 1 comments

Solution: Replace $(document).on("change", this.obj.selector, function() { pekeUpload.checkFile(pekeUpload.obj[0].files[0]); });

With $(document).on("change", '#div-block-where-upload-form-is', function() { pekeUpload.checkFile(pekeUpload.obj[0].files[0]); });

perkthefox avatar Aug 10 '18 18:08 perkthefox

@perkthefox thanks man!

oguzhanozcelik avatar Jan 31 '20 10:01 oguzhanozcelik