From b0ef03999f7f360610aead6312c1557f23237ed6 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Wed, 2 Sep 2015 16:02:03 -0400 Subject: Fix bad syntax. --- web/react/components/channel_info_modal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/react/components/channel_info_modal.jsx b/web/react/components/channel_info_modal.jsx index a1c4e4db4..fae86b4b9 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) { + $(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