Skip to content

Commit a60e9ff

Browse files
authored
Adding the extra space after the if
1 parent ccb1818 commit a60e9ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@ class ReactTooltip extends React.Component {
167167
/* old IE or Firefox work around */
168168
if (!this.tooltipRef.matches) {
169169
/* old IE work around */
170-
if(this.tooltipRef.msMatchesSelector) {
171-
this.tooltipRef.matches = this.tooltipRef.msMatchesSelector;
170+
if (this.tooltipRef.msMatchesSelector) {
171+
this.tooltipRef.matches = this.tooltipRef.msMatchesSelector
172172
} else {
173173
/* old Firefox work around */
174-
this.tooltipRef.matches = this.tooltipRef.mozMatchesSelector;
174+
this.tooltipRef.matches = this.tooltipRef.mozMatchesSelector
175175
}
176176
}
177177
return this.tooltipRef.matches(':hover')

0 commit comments

Comments
 (0)