summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_info_modal.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-09-02 16:02:03 -0400
committerJoramWilander <jwawilander@gmail.com>2015-09-02 16:02:03 -0400
commitb0ef03999f7f360610aead6312c1557f23237ed6 (patch)
tree1ae13f1334e574b74244080a7712ed2673a18907 /web/react/components/channel_info_modal.jsx
parentfca2f43ad5c21001b8ae0a25b4f1a700a09ac38f (diff)
downloadchat-b0ef03999f7f360610aead6312c1557f23237ed6.tar.gz
chat-b0ef03999f7f360610aead6312c1557f23237ed6.tar.bz2
chat-b0ef03999f7f360610aead6312c1557f23237ed6.zip
Fix bad syntax.
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 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')});
});