Skip to content

Commit

Permalink
Fix for #841: replace isEqualNode by strict equality
Browse files Browse the repository at this point in the history
IsEqualNode is not available in IE8 and cannot be shimmed.
  • Loading branch information
Alexandre Balhier committed Apr 25, 2016
1 parent 1787a7e commit cd2372f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ const Select = React.createClass({
},

handleInputBlur (event) {
if (this.refs.menu && document.activeElement.isEqualNode(this.refs.menu)) {
if (this.refs.menu && document.activeElement === this.refs.menu) {
this.focus();
return;
}
Expand Down

0 comments on commit cd2372f

Please sign in to comment.