Show friendly timestamps when expanding all comments on a post.

This commit is contained in:
Andrej Kacian 2011-08-28 18:46:19 +02:00
parent 3a27d66ee8
commit f0b8114738

View file

@ -5,7 +5,8 @@
this.subscribe("widget/ready", function(evt, comment) {
$.extend(self, {
comment: comment,
deleteCommentLink: comment.find("a.comment_delete")
deleteCommentLink: comment.find("a.comment_delete"),
timeAgo: self.instantiate("TimeAgo", comment)
});
self.deleteCommentLink.click(self.removeComment);