From afd4b5db9ae2f89b65883d0f3445c8d9ff50b35f Mon Sep 17 00:00:00 2001 From: Henry Boldizsar Date: Fri, 13 Nov 2015 11:06:06 -0600 Subject: [PATCH] Make S3Upload accessible from react component --- ReactS3Uploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,