Skip to content

Commit

Permalink
fix travis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
an4ger committed Aug 20, 2018
1 parent 4a0da8b commit ab9c109
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.js
Expand Up @@ -281,7 +281,6 @@ class ReactTooltip extends React.Component {
this.clearTimer()

// Make sure the correct place is set
let node = ReactDOM.findDOMNode(this)
let desiredPlace = e.currentTarget.getAttribute('data-place') || this.props.place || 'top'
let effect = switchToSolid && 'solid' || this.getEffect(e.currentTarget)
let offset = e.currentTarget.getAttribute('data-offset') || this.props.offset || {}
Expand Down Expand Up @@ -492,4 +491,4 @@ class ReactTooltip extends React.Component {
}

/* export default not fit for standalone, it will exports {default:...} */
module.exports = ReactTooltip
module.exports = ReactTooltip

0 comments on commit ab9c109

Please sign in to comment.