From 0e47f043293fda94d765231f40a7a12a8b661682 Mon Sep 17 00:00:00 2001 From: Jon Adams Date: Tue, 10 May 2016 16:18:45 -0700 Subject: [PATCH] Update validator.js --- js/validator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/validator.js b/js/validator.js index 17f40ff..78141e4 100644 --- a/js/validator.js +++ b/js/validator.js @@ -220,7 +220,7 @@ var $block = $group.find('.help-block.with-errors') var $feedback = $group.find('.form-control-feedback') - if (!errors.length) return + if (!errors || !errors.length) return errors = $('