tslint
This commit is contained in:
parent
06f4eca05d
commit
4b4599c1d8
1 changed files with 4 additions and 4 deletions
|
@ -50,12 +50,12 @@ export default class Slider extends React.Component<IProps> {
|
|||
}, 0);
|
||||
|
||||
// Off the left
|
||||
if (closest == 0) {
|
||||
if (closest === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Off the right
|
||||
if (closest == values.length) {
|
||||
if (closest === values.length) {
|
||||
return 100;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue