diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-09-02 15:56:13 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-09-02 15:56:13 -0400 |
commit | a020391d93feb93f328cfca4edef6fb8a46cd86c (patch) | |
tree | ab21811abb65589d07cd915382a01728b6bb035e /web/react/components/setting_upload.jsx | |
parent | c7cafb6ac7404b62f38b48d3ec5782863abf203a (diff) | |
download | chat-a020391d93feb93f328cfca4edef6fb8a46cd86c.tar.gz chat-a020391d93feb93f328cfca4edef6fb8a46cd86c.tar.bz2 chat-a020391d93feb93f328cfca4edef6fb8a46cd86c.zip |
Replaced broken remaining calls to getDOMNode with React.findDOMNode
Diffstat (limited to 'web/react/components/setting_upload.jsx')
-rw-r--r-- | web/react/components/setting_upload.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/setting_upload.jsx b/web/react/components/setting_upload.jsx index a7ab03018..66afdfb41 100644 --- a/web/react/components/setting_upload.jsx +++ b/web/react/components/setting_upload.jsx @@ -33,7 +33,7 @@ export default class SettingsUpload extends React.Component { doSubmit(e) { e.preventDefault(); - var inputnode = this.refs.uploadinput.getDOMNode(); + var inputnode = React.findDOMNode(this.refs.uploadinput); if (inputnode.files && inputnode.files[0]) { this.props.submit(inputnode.files[0]); } else { @@ -98,4 +98,4 @@ SettingsUpload.propTypes = { clientError: React.PropTypes.string, serverError: React.PropTypes.string, helpText: React.PropTypes.object -};
\ No newline at end of file +}; |