summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/details/comments.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-12 02:09:15 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-12 02:09:15 +0100
commit41d0bd185c19c8a51ed9b85700f52181b6cc5012 (patch)
tree76d4524fff4221da47e57ea0bcdb0917d592b5d1 /public/assets/js/lib/views/details/comments.js
parentce73133c4e982db99f218bf930d82eb991ce81e3 (diff)
color stuff, building settings form
Diffstat (limited to 'public/assets/js/lib/views/details/comments.js')
-rw-r--r--public/assets/js/lib/views/details/comments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/details/comments.js b/public/assets/js/lib/views/details/comments.js
index c679d22..473fb22 100644
--- a/public/assets/js/lib/views/details/comments.js
+++ b/public/assets/js/lib/views/details/comments.js
@@ -19,7 +19,7 @@ var CommentsView = FormView.extend({
},
parse: function(comment){
- if (! comment.comment.length) return $('<div></div>')
+ if (! comment.comment.length) return $('')
var datetime = verbose_date(comment.date, true)
var t = this.template.replace(/{{username}}/g, comment.username)
.replace(/{{id}}/g, comment.id)