Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismcv committed Jul 6, 2015
1 parent f2b61a9 commit 8631aa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ let Dialog = React.createClass({
contents: this.mergeAndPrefix(contents, this.props.contentStyle),
body: this.mergeStyles(body, this.props.bodyStyle),
title: this.mergeStyles(title, this.props.titleStyle),
}
};
},

render() {
Expand Down Expand Up @@ -168,7 +168,7 @@ let Dialog = React.createClass({
},

dismiss() {
CssEvent.onTransitionEnd(this.getDOMNode(), function() {
CssEvent.onTransitionEnd(this.getDOMNode(), () => {
this.refs.dialogOverlay.allowScrolling();
}.bind(this));

Expand Down

0 comments on commit 8631aa0

Please sign in to comment.