summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_info_modal.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/channel_info_modal.jsx')
-rw-r--r--web/react/components/channel_info_modal.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/channel_info_modal.jsx b/web/react/components/channel_info_modal.jsx
index d6de958e7..bccd8d0b9 100644
--- a/web/react/components/channel_info_modal.jsx
+++ b/web/react/components/channel_info_modal.jsx
@@ -15,7 +15,7 @@ export default class CommandList extends React.Component {
componentDidMount() {
var self = this;
if (this.refs.modal) {
- $(React.findDOMNode(this.refs.modal)).on('show.bs.modal', function show(e) {
+ $(ReactDOM.findDOMNode(this.refs.modal)).on('show.bs.modal', function show(e) {
var button = e.relatedTarget;
self.setState({channel_id: $(button).attr('data-channelid')});
});