From f6feb274cde0f84e992009dff7050847eae9c89a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 13 Dec 2017 04:34:20 +0100 Subject: required --- public/assets/js/lib/views/index/hootbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/assets/js/lib/views/index/hootbox.js') diff --git a/public/assets/js/lib/views/index/hootbox.js b/public/assets/js/lib/views/index/hootbox.js index 64fc756..6be9596 100644 --- a/public/assets/js/lib/views/index/hootbox.js +++ b/public/assets/js/lib/views/index/hootbox.js @@ -15,7 +15,7 @@ var HootBox = FormView.extend({ }, load: function(comments){ - if (!comments || !comments.length) { + if (!comments || !comments.length && ! this.options.required) { this.$el.hide() return } -- cgit v1.2.3-70-g09d2