From 40a3abbee8069ddfa0841d8e786096dbbf7a9bc4 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Wed, 19 Sep 2018 07:09:36 -0500 Subject: [PATCH] Fix isNumber function --- manage/config-dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {