Skip to content

Commit 3f61ea5

Browse files
committed
3.0.6
1 parent 803b67e commit 3f61ea5

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Change Log
22

3+
### 3.0.6 (2016/06/23 01:08 +00:00)
4+
- [#122](https://github.com/wwayne/react-tooltip/pull/122) Fixed "Wrong query selector for data-tip #121" (@neciu)
5+
36
### 3.0.5 (2016/06/21 00:32 +00:00)
47
- [#120](https://github.com/wwayne/react-tooltip/pull/120) Fix custom event with specific id (@wwayne)
58

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-tooltip",
3-
"version": "3.0.5",
3+
"version": "3.0.6",
44
"description": "react tooltip component",
55
"main": "dist/index.js",
66
"scripts": {

standalone/react-tooltip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ var ReactTooltip = (0, _staticMethods2.default)(_class = (0, _windowListener2.de
392392
if (!id) {
393393
targetArray = document.querySelectorAll('[data-tip]:not([data-for])');
394394
} else {
395-
targetArray = document.querySelectorAll('[data-tip][data-for=' + id + ']');
395+
targetArray = document.querySelectorAll('[data-tip][data-for="' + id + '"]');
396396
}
397397

398398
// targetArray is a NodeList, convert it to a real array

0 commit comments

Comments
 (0)