fix lint errors

This commit is contained in:
Franc Camps-Febrer
2019-02-01 12:23:11 -05:00
parent 6906adc258
commit 4af0c9c2ef
8 changed files with 67 additions and 62 deletions

View File

@@ -232,7 +232,7 @@ class Timeline extends React.Component {
// make sure the zoom doesn't go over them
const minDate = parseDate(this.props.app.timeline.rangeLimits[0])
const maxDate = parseDate(this.props.app.timeline.rangeLimits[1])
newDomain0 = (newDomain0 < minDate) ? minDate : newDomain0
newDomainF = (newDomainF > maxDate) ? maxDate : newDomainF
}