Skip to content

Commit

Permalink
unnecessary comment removed
Browse files Browse the repository at this point in the history
  • Loading branch information
tajo committed May 3, 2016
1 parent 4a533f9 commit dca3732
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/portal.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,7 @@ export default class Portal extends React.Component {
handleWrapperClick(e) {
e.preventDefault();
e.stopPropagation();

// when having outside mouse click listener don't open portal if it's already open
if (this.state.active) { return; }

this.openPortal();
}

Expand Down

0 comments on commit dca3732

Please sign in to comment.