From 2a2191049f5d02824a53a696995ad935541a44c2 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Sun, 16 Sep 2018 18:41:48 -0500 Subject: [PATCH] Don't allow step to be set to zero --- js/usercss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/usercss.js b/js/usercss.js index 45a7c762..1cfdd142 100644 --- a/js/usercss.js +++ b/js/usercss.js @@ -238,7 +238,7 @@ var usercss = (() => { result.default = range[0]; result.min = range[1]; result.max = range[2]; - result.step = range[3]; + result.step = range[3] || 1; } break; }