Skip to content

Commit

Permalink
Merge pull request #2021 from callemall/oliviertassinari-patch-1
Browse files Browse the repository at this point in the history
[Overlay] Fix server side rendering
  • Loading branch information
oliviertassinari committed Oct 31, 2015
2 parents 0d86eea + 80141f6 commit c66ff3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/overlay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Overlay = React.createClass({
};
},

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

Expand Down

0 comments on commit c66ff3d

Please sign in to comment.