From aa9718404cba9cf1c872b7cedded31d68d3beb54 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 7 Sep 2015 10:44:13 -0400 Subject: gallery --- public/assets/js/lib/views/details/comments.js | 1 + 1 file changed, 1 insertion(+) (limited to 'public/assets/js/lib/views/details/comments.js') diff --git a/public/assets/js/lib/views/details/comments.js b/public/assets/js/lib/views/details/comments.js index 819daba..4bd2eb7 100644 --- a/public/assets/js/lib/views/details/comments.js +++ b/public/assets/js/lib/views/details/comments.js @@ -17,6 +17,7 @@ var CommentsView = FormView.extend({ }, parse: function(comment){ + if (! comment.comment.length) return "" var datetime = verbose_date(comment.date, true) var t = this.template.replace(/{{username}}/g, comment.username) .replace(/{{comment}}/g, tidy_urls(comment.comment)) -- cgit v1.2.3-70-g09d2