Show friendly timestamps when expanding all comments on a post.
This commit is contained in:
parent
3a27d66ee8
commit
f0b8114738
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@
|
||||||
this.subscribe("widget/ready", function(evt, comment) {
|
this.subscribe("widget/ready", function(evt, comment) {
|
||||||
$.extend(self, {
|
$.extend(self, {
|
||||||
comment: comment,
|
comment: comment,
|
||||||
deleteCommentLink: comment.find("a.comment_delete")
|
deleteCommentLink: comment.find("a.comment_delete"),
|
||||||
|
timeAgo: self.instantiate("TimeAgo", comment)
|
||||||
});
|
});
|
||||||
|
|
||||||
self.deleteCommentLink.click(self.removeComment);
|
self.deleteCommentLink.click(self.removeComment);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue