From f35077afceb90d58cbc18b9661958ac475a4fd70 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Tue, 18 Sep 2018 07:46:54 -0500 Subject: [PATCH] Fix clamp undefined step --- 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 8f2ba6b1..fe665098 100644 --- a/manage/config-dialog.js +++ b/manage/config-dialog.js @@ -336,7 +336,7 @@ function configDialog(style) { return max; } // Don't restrict to integer values if step is undefined. - if (typeof va.step === 'undefined') { + if (!isNumber(va.step)) { return value; } const step = va.step || 1;