Skip to content

Commit

Permalink
Replace deprecated getDOMNode with findDOMNode
Browse files Browse the repository at this point in the history
  • Loading branch information
Remon Oldenbeuving committed May 1, 2015
1 parent 9e396fc commit 98e0e82
Show file tree
Hide file tree
Showing 4 changed files with 8,645 additions and 8,645 deletions.
4 changes: 2 additions & 2 deletions dist/react-datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@ return /******/ (function(modules) { // webpackBootstrap

toggleFocus: function toggleFocus(focus) {
if (focus) {
this.refs.input.getDOMNode().focus();
React.findDOMNode(this.refs.input).focus();
} else {
this.refs.input.getDOMNode().blur();
React.findDOMNode(this.refs.input).blur();
}
},

Expand Down
2 changes: 1 addition & 1 deletion dist/react-datepicker.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 98e0e82

Please sign in to comment.