Skip to content

Commit

Permalink
Keep back an important comment
Browse files Browse the repository at this point in the history
  • Loading branch information
huumanoid committed Feb 16, 2017
1 parent 0a57e5e commit f731209
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ class ReactTooltip extends Component {
targetArray = document.querySelectorAll(`[data-tip][data-for="${id}"]`)
}

// targetArray is a NodeList, convert it to a real array
return createArrayFromMixed(targetArray)
}

Expand Down

0 comments on commit f731209

Please sign in to comment.