summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_info_modal.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-09-02 12:57:45 -0700
committerCorey Hulen <corey@hulen.com>2015-09-02 12:57:45 -0700
commitfca2f43ad5c21001b8ae0a25b4f1a700a09ac38f (patch)
tree5db8787a810ccf56b283149c8468b243ab10b6b7 /web/react/components/channel_info_modal.jsx
parent27970af4bbbb2d358245bfd63e3167ddfa948135 (diff)
parenta020391d93feb93f328cfca4edef6fb8a46cd86c (diff)
downloadchat-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.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 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')});
});