Skip to content

Commit

Permalink
Merge pull request mui#5226 from m14t/fix/remove-unused-conditional
Browse files Browse the repository at this point in the history
[IconButton] Remove unused conditional
  • Loading branch information
oliviertassinari authored Sep 21, 2016
2 parents 8fddb05 + 60a202f commit 367d000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IconButton/IconButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class IconButton extends Component {
if (keyboardFocused && !this.props.disabled) {
this.showTooltip();
if (this.props.onFocus) this.props.onFocus(event);
} else if (!this.state.hovered) {
} else {
this.hideTooltip();
if (this.props.onBlur) this.props.onBlur(event);
}
Expand Down

0 comments on commit 367d000

Please sign in to comment.