diff --git a/ReactS3Uploader.js b/ReactS3Uploader.js index 0153c53..1cdfd13 100644 --- a/ReactS3Uploader.js +++ b/ReactS3Uploader.js @@ -32,7 +32,7 @@ var ReactS3Uploader = React.createClass({ }, uploadFile: function() { - new S3Upload({ + this.S3Upload = new S3Upload({ fileElement: findDOMNode(this), signingUrl: this.props.signingUrl, onProgress: this.props.onProgress,