From a020391d93feb93f328cfca4edef6fb8a46cd86c Mon Sep 17 00:00:00 2001 From: hmhealey Date: Wed, 2 Sep 2015 15:56:13 -0400 Subject: Replaced broken remaining calls to getDOMNode with React.findDOMNode --- web/react/components/channel_info_modal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/react/components/channel_info_modal.jsx') diff --git a/web/react/components/channel_info_modal.jsx b/web/react/components/channel_info_modal.jsx index b658dbe6e..a1c4e4db4 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) { - $(this.refs.modal.getDOMNode()).on('show.bs.modal', function show(e) { + $(React.findDOMNode(this.refs.modal).on('show.bs.modal', function show(e) { var button = e.relatedTarget; self.setState({channel_id: $(button).attr('data-channelid')}); }); -- cgit v1.2.3-1-g7c22