diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-26 02:21:04 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-26 02:21:04 +0200 |
| commit | 24186fc504859d774ebda65d5702132098d6de97 (patch) | |
| tree | 8717ce1e9fcc16533098ae44fad84339654f1efc /app/client/common | |
| parent | d4e707a501bd053de1110ba8d87891c1d3b65e45 (diff) | |
offsets
Diffstat (limited to 'app/client/common')
| -rw-r--r-- | app/client/common/slider.component.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/client/common/slider.component.js b/app/client/common/slider.component.js index 468debd..7252ca3 100644 --- a/app/client/common/slider.component.js +++ b/app/client/common/slider.component.js @@ -25,8 +25,6 @@ class Slider extends Component { let { name, opt } = this.props let old_value = opt[name] let new_value = e.target.value - console.log(this.props) - console.log(new_value, this.props.defaultValue) if (new_value === '') { new_value = this.props.defaultValue || (this.props.max - this.props.min) / 2 } @@ -77,9 +75,7 @@ class Slider extends Component { min = 0 max = this.props.options.length-1 step = 1 - console.log('old', value) value = this.props.options.indexOf(value) - console.log('new', value, this.props.options[value]) } else { step = (this.props.max - this.props.min) / 100 text_value = parseFloat(value).toFixed(2) |
