pull/21833/head
Jorik Schellekens 2020-04-23 14:39:11 +01:00
parent 06f4eca05d
commit 4b4599c1d8
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}