From 2c7742e56fd26aaa96bf82d619298b0e0994a86f Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Tue, 18 Sep 2018 08:14:00 -0500 Subject: [PATCH] Check for null in isNumber --- 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 d638de1f..1eb27b03 100644 --- a/manage/config-dialog.js +++ b/manage/config-dialog.js @@ -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) {