diff --git a/js/validator.js b/js/validator.js index 6311a22..ae9e708 100644 --- a/js/validator.js +++ b/js/validator.js @@ -254,7 +254,7 @@ var $block = $group.find('.help-block.with-errors') var $feedback = $group.find('.form-control-feedback') - if (!errors.length) return + if (errors) if (!errors.length) return errors = $('