summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_notifications.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/channel_notifications.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/channel_notifications.jsx')
-rw-r--r--web/react/components/channel_notifications.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/channel_notifications.jsx b/web/react/components/channel_notifications.jsx
index 2114be905..6151d4bdd 100644
--- a/web/react/components/channel_notifications.jsx
+++ b/web/react/components/channel_notifications.jsx
@@ -51,7 +51,7 @@ export default class ChannelNotifications extends React.Component {
componentDidMount() {
ChannelStore.addChangeListener(this.onListenerChange);
- $(React.findDOMNode(this.refs.modal)).on('show.bs.modal', this.onShow);
+ $(ReactDOM.findDOMNode(this.refs.modal)).on('show.bs.modal', this.onShow);
}
componentWillUnmount() {
ChannelStore.removeChangeListener(this.onListenerChange);
@@ -104,7 +104,7 @@ export default class ChannelNotifications extends React.Component {
}
handleUpdateNotifyLevel(notifyLevel) {
this.setState({notifyLevel});
- React.findDOMNode(this.refs.modal).focus();
+ ReactDOM.findDOMNode(this.refs.modal).focus();
}
createNotifyLevelSection(serverError) {
var handleUpdateSection;
@@ -266,7 +266,7 @@ export default class ChannelNotifications extends React.Component {
handleUpdateMarkUnreadLevel(markUnreadLevel) {
this.setState({markUnreadLevel});
- React.findDOMNode(this.refs.modal).focus();
+ ReactDOM.findDOMNode(this.refs.modal).focus();
}
createMarkUnreadLevelSection(serverError) {