Skip to content

Commit

Permalink
Removed useless hasTarget option
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniogiordano committed Mar 20, 2017
1 parent 990908b commit 1a34c6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ class ReactTooltip extends Component {
}
}

checkSameTarget (e, hasTarget) {
checkSameTarget (e) {
if (this.state.currentTarget === e.currentTarget) {
this.hideTooltip(e, hasTarget)
this.hideTooltip(e)
}
}

Expand Down

0 comments on commit 1a34c6a

Please sign in to comment.