summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-09-02 16:02:28 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-09-02 16:02:28 -0400
commit06162e33604e57039ad15af852d953cbf9b2a019 (patch)
tree1ae13f1334e574b74244080a7712ed2673a18907 /web
parentfca2f43ad5c21001b8ae0a25b4f1a700a09ac38f (diff)
parentb0ef03999f7f360610aead6312c1557f23237ed6 (diff)
downloadchat-06162e33604e57039ad15af852d953cbf9b2a019.tar.gz
chat-06162e33604e57039ad15af852d953cbf9b2a019.tar.bz2
chat-06162e33604e57039ad15af852d953cbf9b2a019.zip
Merge pull request #560 from mattermost/minor-fix
Fix bad syntax.
Diffstat (limited to 'web')
-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')});
});