Skip to content

Commit

Permalink
Final tweak from Dan about this.props.handleClose
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclynperrone committed Jul 23, 2015
1 parent c406c52 commit 4536cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cycledash/static/js/runs/components/RunsPage.js
Expand Up @@ -21,7 +21,7 @@ var ModalStates = {
var Modal = React.createClass({
componentDidMount: function() {
$('.modal').modal('show');
$('.modal').on('hidden.bs.modal', () => {this.props.handleClose();});
$('.modal').on('hidden.bs.modal', this.props.handleClose);
},
hideModal: function() {
$('.modal').modal('hide');
Expand Down

0 comments on commit 4536cb3

Please sign in to comment.