From a020391d93feb93f328cfca4edef6fb8a46cd86c Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Wed, 2 Sep 2015 15:56:13 -0400
Subject: Replaced broken remaining calls to getDOMNode with React.findDOMNode

---
 web/react/components/file_upload.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'web/react/components/file_upload.jsx')

diff --git a/web/react/components/file_upload.jsx b/web/react/components/file_upload.jsx
index 460d91cc8..c91d03599 100644
--- a/web/react/components/file_upload.jsx
+++ b/web/react/components/file_upload.jsx
@@ -19,7 +19,7 @@ export default class FileUpload extends React.Component {
     }
 
     handleChange() {
-        var element = $(this.refs.fileInput.getDOMNode());
+        var element = $(React.findDOMNode(this.refs.fileInput));
         var files = element.prop('files');
 
         var channelId = this.props.channelId || ChannelStore.getCurrentId();
@@ -149,7 +149,7 @@ export default class FileUpload extends React.Component {
     }
 
     componentDidMount() {
-        var inputDiv = this.refs.input.getDOMNode();
+        var inputDiv = React.findDOMNode(this.refs.input);
         var self = this;
 
         if (this.props.postType === 'post') {
-- 
cgit v1.2.3-1-g7c22

