summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_info_modal.jsx
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-09-02 15:56:13 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-09-02 15:56:13 -0400
commita020391d93feb93f328cfca4edef6fb8a46cd86c (patch)
treeab21811abb65589d07cd915382a01728b6bb035e /web/react/components/channel_info_modal.jsx
parentc7cafb6ac7404b62f38b48d3ec5782863abf203a (diff)
downloadchat-a020391d93feb93f328cfca4edef6fb8a46cd86c.tar.gz
chat-a020391d93feb93f328cfca4edef6fb8a46cd86c.tar.bz2
chat-a020391d93feb93f328cfca4edef6fb8a46cd86c.zip
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')});
});