Skip to content

Commit f731209

Browse files
committed
Keep back an important comment
1 parent 0a57e5e commit f731209

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ class ReactTooltip extends Component {
155155
targetArray = document.querySelectorAll(`[data-tip][data-for="${id}"]`)
156156
}
157157

158+
// targetArray is a NodeList, convert it to a real array
158159
return createArrayFromMixed(targetArray)
159160
}
160161

0 commit comments

Comments
 (0)