Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
expade committed May 5, 2017
1 parent 9c04234 commit f3dc285
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/App/components/PickyDateTime/Clock/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ class Clock extends React.Component {
}

initCoordinates() {
if (this.clockCenter == null) {
return;
}
const centerPoint = ReactDOM.findDOMNode(this.clockCenter);
const centerPointPos = centerPoint.getBoundingClientRect();
const top = centerPointPos.top,
Expand Down

0 comments on commit f3dc285

Please sign in to comment.