Skip to content

Commit

Permalink
Merge pull request #1957 from mmckelvy/master
Browse files Browse the repository at this point in the history
[Overlay] Fix body overflow style reset in overlay.jsx
  • Loading branch information
oliviertassinari committed Oct 21, 2015
2 parents c8cada0 + d25d122 commit d2b7807
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 d2b7807

Please sign in to comment.