Skip to content

Commit

Permalink
Merge pull request #889 from abalhier/replace_is_equal_node_by_strict…
Browse files Browse the repository at this point in the history
…_equality

Fix for #841 : replace isEqualNode by strict equality
  • Loading branch information
JedWatson committed Apr 26, 2016
2 parents fa96b01 + cd2372f commit bd55d8f
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 @@ -322,7 +322,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 bd55d8f

Please sign in to comment.