Fix isNumber function
This commit is contained in:
parent
c7dae46da8
commit
df6a301875
|
@ -198,7 +198,7 @@ function configDialog(style) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isNumber(value) {
|
function isNumber(value) {
|
||||||
return value !== null && value !== '' && !isNaN(Number(value));
|
return typeof value === 'number';
|
||||||
}
|
}
|
||||||
|
|
||||||
function isDefault(va) {
|
function isDefault(va) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user