Check for null in isNumber
This commit is contained in:
parent
15a0521408
commit
2c7742e56f
|
@ -198,7 +198,7 @@ function configDialog(style) {
|
|||
}
|
||||
|
||||
function isNumber(value) {
|
||||
return value !== '' && !isNaN(Number(value));
|
||||
return value !== null && value !== '' && !isNaN(Number(value));
|
||||
}
|
||||
|
||||
function isDefault(va) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user