Merge pull request #560 from mattermost/minor-fix

Fix bad syntax.
Этот коммит содержится в:
Joram Wilander
2015-09-02 16:02:28 -04:00
родитель fca2f43ad5 b0ef03999f
Коммит 06162e3360

Просмотреть файл

@@ -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')});
});