Don't allow step to be set to zero
This commit is contained in:
parent
1ba0173422
commit
2a2191049f
|
@ -238,7 +238,7 @@ var usercss = (() => {
|
|||
result.default = range[0];
|
||||
result.min = range[1];
|
||||
result.max = range[2];
|
||||
result.step = range[3];
|
||||
result.step = range[3] || 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user