diff --git a/js/rules.js b/js/rules.js index 285792b..265b19e 100644 --- a/js/rules.js +++ b/js/rules.js @@ -17,7 +17,7 @@ module.exports = { return !isNaN(value); }, - range: function(input, value, mix, max) { + range: function(input, value, min, max) { return Number(value) >= min && Number(value) <= max; },