We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb1818 commit a60e9ffCopy full SHA for a60e9ff
src/index.js
@@ -167,11 +167,11 @@ class ReactTooltip extends React.Component {
167
/* old IE or Firefox work around */
168
if (!this.tooltipRef.matches) {
169
/* old IE work around */
170
- if(this.tooltipRef.msMatchesSelector) {
171
- this.tooltipRef.matches = this.tooltipRef.msMatchesSelector;
+ if (this.tooltipRef.msMatchesSelector) {
+ this.tooltipRef.matches = this.tooltipRef.msMatchesSelector
172
} else {
173
/* old Firefox work around */
174
- this.tooltipRef.matches = this.tooltipRef.mozMatchesSelector;
+ this.tooltipRef.matches = this.tooltipRef.mozMatchesSelector
175
}
176
177
return this.tooltipRef.matches(':hover')
0 commit comments