diff options
author | Corey Hulen <corey@hulen.com> | 2015-09-02 12:57:45 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-09-02 12:57:45 -0700 |
commit | fca2f43ad5c21001b8ae0a25b4f1a700a09ac38f (patch) | |
tree | 5db8787a810ccf56b283149c8468b243ab10b6b7 /web/react/components/channel_info_modal.jsx | |
parent | 27970af4bbbb2d358245bfd63e3167ddfa948135 (diff) | |
parent | a020391d93feb93f328cfca4edef6fb8a46cd86c (diff) | |
download | chat-fca2f43ad5c21001b8ae0a25b4f1a700a09ac38f.tar.gz chat-fca2f43ad5c21001b8ae0a25b4f1a700a09ac38f.tar.bz2 chat-fca2f43ad5c21001b8ae0a25b4f1a700a09ac38f.zip |
Merge pull request #559 from hmhealey/getdomnode
Replaced broken remaining calls to getDOMNode with React.findDOMNode
Diffstat (limited to 'web/react/components/channel_info_modal.jsx')
-rw-r--r-- | web/react/components/channel_info_modal.jsx | 2 |
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 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')}); }); |