()
| 133 | } |
| 134 | |
| 135 | close () { |
| 136 | this.setState({ active: false }); |
| 137 | this.unbindClickAway(); |
| 138 | if (this.refs.clock) { |
| 139 | this.refs.clock.close(); |
| 140 | } |
| 141 | setTimeout(() => { |
| 142 | if (this.state.active === false) { |
| 143 | this.refs.datepicker.style.display = 'none'; |
| 144 | } |
| 145 | }, 500); |
| 146 | } |
| 147 | |
| 148 | changeDate (obj) { |
| 149 | let c = this.state.current, |
no test coverage detected