Skip to content

Commit

Permalink
fix overlay issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mmckelvy committed Oct 21, 2015
1 parent 4e29f27 commit d25d122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/overlay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ const Overlay = React.createClass({
};
},

componentDidMount() {
this._originalBodyOverflow = document.getElementsByTagName('body')[0].style.oveflow;
componentWillMount() {
this._originalBodyOverflow = document.getElementsByTagName('body')[0].style.overflow;
},

componentDidUpdate() {
Expand Down

0 comments on commit d25d122

Please sign in to comment.