summaryrefslogtreecommitdiffstats
path: root/web/react/components/removed_from_channel_modal.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-15 15:18:39 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-15 15:18:39 -0400
commitc890e21cefe135a74a4a7235b704e7af95decc5c (patch)
tree46625abd1f88a70e4c5774ac37bdd7d10e899768 /web/react/components/removed_from_channel_modal.jsx
parentbd2fec0fb16783049ec555d8015f49a0ed3ccf80 (diff)
parent8d630fc3ee6a06b8daeb117a9e166c5dfba55a52 (diff)
downloadchat-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/removed_from_channel_modal.jsx')
-rw-r--r--web/react/components/removed_from_channel_modal.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/react/components/removed_from_channel_modal.jsx b/web/react/components/removed_from_channel_modal.jsx
index ca35d6fb0..7cf0a2ef1 100644
--- a/web/react/components/removed_from_channel_modal.jsx
+++ b/web/react/components/removed_from_channel_modal.jsx
@@ -37,13 +37,13 @@ export default class RemovedFromChannelModal extends React.Component {
}
componentDidMount() {
- $(React.findDOMNode(this)).on('show.bs.modal', this.handleShow);
- $(React.findDOMNode(this)).on('hidden.bs.modal', this.handleClose);
+ $(ReactDOM.findDOMNode(this)).on('show.bs.modal', this.handleShow);
+ $(ReactDOM.findDOMNode(this)).on('hidden.bs.modal', this.handleClose);
}
componentWillUnmount() {
- $(React.findDOMNode(this)).off('show.bs.modal', this.handleShow);
- $(React.findDOMNode(this)).off('hidden.bs.modal', this.handleClose);
+ $(ReactDOM.findDOMNode(this)).off('show.bs.modal', this.handleShow);
+ $(ReactDOM.findDOMNode(this)).off('hidden.bs.modal', this.handleClose);
}
render() {