summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/details/comments.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-09-07 10:44:13 -0400
committerJules Laplace <jules@okfoc.us>2015-09-07 10:44:13 -0400
commitaa9718404cba9cf1c872b7cedded31d68d3beb54 (patch)
tree0da2739d510f164ad34632a94f375a102916ad63 /public/assets/js/lib/views/details/comments.js
parent3bfcb525760dff0613c7dbbf26749a2191ccc6ea (diff)
gallery
Diffstat (limited to 'public/assets/js/lib/views/details/comments.js')
-rw-r--r--public/assets/js/lib/views/details/comments.js1
1 files changed, 1 insertions, 0 deletions
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))