diff --git a/app/assets/javascripts/wall.js.coffee b/app/assets/javascripts/wall.js.coffee index c8fc960e1749934398650658d45f4f91cfe1864e..9f8f62947cff5ea390f2d9cbc6ad65b6645e9055 100644 --- a/app/assets/javascripts/wall.js.coffee +++ b/app/assets/javascripts/wall.js.coffee @@ -60,7 +60,7 @@ class Wall renderNote: (note) -> template = @noteTemplate() template = template.replace('{{author_name}}', note.author.name) - template = template.replace('{{created_at}}', note.created_at) + template = template.replace(/{{created_at}}/g, note.created_at) template = template.replace('{{text}}', linkify(sanitize(note.body))) if note.attachment