Skip to content

Commit

Permalink
Settings : slider when min and max are numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
trekiteasy committed Feb 12, 2019
1 parent 2ce0850 commit 4ed5cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Settings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class Settings extends React.Component {
</div>);
}
renderNumberOption (option) {
if (typeof option.min !== 'number' && typeof option.max !== 'number') {
if (typeof option.min === 'number' && typeof option.max === 'number') {
return this.renderSliderOption(option);
} else {
return (<Input
Expand Down

0 comments on commit 4ed5cc7

Please sign in to comment.