diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-10-15 15:18:39 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-10-15 15:18:39 -0400 |
commit | c890e21cefe135a74a4a7235b704e7af95decc5c (patch) | |
tree | 46625abd1f88a70e4c5774ac37bdd7d10e899768 /web/react/components/edit_channel_modal.jsx | |
parent | bd2fec0fb16783049ec555d8015f49a0ed3ccf80 (diff) | |
parent | 8d630fc3ee6a06b8daeb117a9e166c5dfba55a52 (diff) | |
download | chat-c890e21cefe135a74a4a7235b704e7af95decc5c.tar.gz chat-c890e21cefe135a74a4a7235b704e7af95decc5c.tar.bz2 chat-c890e21cefe135a74a4a7235b704e7af95decc5c.zip |
Merge pull request #1075 from mattermost/plt-577
PLT-577 Upgrading dependencies.
Diffstat (limited to 'web/react/components/edit_channel_modal.jsx')
-rw-r--r-- | web/react/components/edit_channel_modal.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/react/components/edit_channel_modal.jsx b/web/react/components/edit_channel_modal.jsx index 6ccf12be6..d63a1db30 100644 --- a/web/react/components/edit_channel_modal.jsx +++ b/web/react/components/edit_channel_modal.jsx @@ -34,7 +34,7 @@ export default class EditChannelModal extends React.Component { function handleUpdateSuccess() { this.setState({serverError: ''}); AsyncClient.getChannel(this.state.channelId); - $(React.findDOMNode(this.refs.modal)).modal('hide'); + $(ReactDOM.findDOMNode(this.refs.modal)).modal('hide'); }.bind(this), function handleUpdateError(err) { if (err.message === 'Invalid channel_description parameter') { @@ -56,11 +56,11 @@ export default class EditChannelModal extends React.Component { this.setState({description: $(button).attr('data-desc'), title: $(button).attr('data-title'), channelId: $(button).attr('data-channelid'), serverError: ''}); } componentDidMount() { - $(React.findDOMNode(this.refs.modal)).on('show.bs.modal', this.onShow); - $(React.findDOMNode(this.refs.modal)).on('hidden.bs.modal', this.handleClose); + $(ReactDOM.findDOMNode(this.refs.modal)).on('show.bs.modal', this.onShow); + $(ReactDOM.findDOMNode(this.refs.modal)).on('hidden.bs.modal', this.handleClose); } componentWillUnmount() { - $(React.findDOMNode(this.refs.modal)).off('hidden.bs.modal', this.handleClose); + $(ReactDOM.findDOMNode(this.refs.modal)).off('hidden.bs.modal', this.handleClose); } render() { var serverError = null; |