summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/index
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-14 06:48:53 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-14 06:48:53 +0100
commitf9a0743696c5e21d81ae0e215e36358788e708df (patch)
tree07bc648b9b4f16999caa669ed5faf40f92d0345f /public/assets/js/lib/views/index
parent54b4af27409fba0032faf4c8bed825ce2bc71cce (diff)
profile form
Diffstat (limited to 'public/assets/js/lib/views/index')
-rw-r--r--public/assets/js/lib/views/index/hootbox.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/index/hootbox.js b/public/assets/js/lib/views/index/hootbox.js
index 6be9596..85fd51e 100644
--- a/public/assets/js/lib/views/index/hootbox.js
+++ b/public/assets/js/lib/views/index/hootbox.js
@@ -23,7 +23,8 @@ var HootBox = FormView.extend({
},
parse: function(comment){
- var t = this.template.replace(/{{username}}/g, comment.username)
+ var t = this.template.replace(/{{username}}/g, profile_image(comment.username))
+ .replace(/{{username}}/g, comment.username)
.replace(/{{comment}}/g, tidy_urls(comment.comment, true))
return t
},