From f9a0743696c5e21d81ae0e215e36358788e708df Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 14 Dec 2017 06:48:53 +0100 Subject: profile form --- public/assets/js/lib/views/index/hootbox.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'public/assets/js/lib/views/index') 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 }, -- cgit v1.2.3-70-g09d2