Skip to content

Commit

Permalink
Fix misplaced comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Poulter, Roland authored and Poulter, Roland committed Jul 2, 2015
1 parent fd45282 commit c8e4eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/menu/menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ var Menu = React.createClass({
}

this._nextAnimationFrame(function () {
//Set the overflow to hidden so that animation works properly
container.style.overflow = 'hidden';

//Close the menu
Expand All @@ -514,7 +515,6 @@ var Menu = React.createClass({
el.style.paddingBottom = '0px';

let end = () => {
//Set the overflow to hidden so that animation works properly
el.style.transition = null;
};

Expand Down

0 comments on commit c8e4eff

Please sign in to comment.