diff --git a/manage/config-dialog.js b/manage/config-dialog.js index e5a3e9a3..34559c44 100644 --- a/manage/config-dialog.js +++ b/manage/config-dialog.js @@ -198,7 +198,7 @@ function configDialog(style) { } function isNumber(value) { - return value !== null && value !== '' && !isNaN(Number(value)); + return typeof value === 'number'; } function isDefault(va) {