Fix undefined value

This commit is contained in:
Rob Garrison 2018-09-19 08:35:52 -05:00
parent a0ffdb7645
commit c18671c91c

View File

@ -314,7 +314,7 @@ function configDialog(style) {
function updateVarOnChange() {
if (this.type === 'range') {
this.va.value = Number(this.value);
updateRangeCurrentValue(va, this.va.value);
updateRangeCurrentValue(this.va, this.va.value);
} else if (this.type === 'number') {
const value = Number(this.value);
if (clampValue(value, this.va) === value) {