Skip to content

Commit d6f9b13

Browse files
committed
Revert "Respect closeOnSelect property"
This reverts commit 433f260.
1 parent be9654c commit d6f9b13

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

DateTime.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,10 @@ var Datetime = React.createClass({
161161
updatedState = this.getStateFromProps( nextProps );
162162
}
163163

164-
// What is this for? Keeping for now, will remove later
165164
if ( updatedState.open === undefined ) {
166165
updatedState.open = this.state.open;
167166
}
168167

169-
if ( this.props.closeOnSelect === false ) {
170-
updatedState.open = true;
171-
}
172-
173168
if ( nextProps.viewMode !== this.props.viewMode ) {
174169
updatedState.currentView = nextProps.viewMode;
175170
}

0 commit comments

Comments
 (0)