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