Fix undefined value
This commit is contained in:
parent
a0ffdb7645
commit
c18671c91c
|
@ -314,7 +314,7 @@ function configDialog(style) {
|
||||||
function updateVarOnChange() {
|
function updateVarOnChange() {
|
||||||
if (this.type === 'range') {
|
if (this.type === 'range') {
|
||||||
this.va.value = Number(this.value);
|
this.va.value = Number(this.value);
|
||||||
updateRangeCurrentValue(va, this.va.value);
|
updateRangeCurrentValue(this.va, this.va.value);
|
||||||
} else if (this.type === 'number') {
|
} else if (this.type === 'number') {
|
||||||
const value = Number(this.value);
|
const value = Number(this.value);
|
||||||
if (clampValue(value, this.va) === value) {
|
if (clampValue(value, this.va) === value) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user