mirror of
https://github.com/vale981/Vulcan
synced 2025-03-07 02:21:43 -05:00
12 lines
298 B
JavaScript
12 lines
298 B
JavaScript
Template.comment.events = {
|
|
'click .comment-reply': function(event){
|
|
event.preventDefault();
|
|
Session.set('selected_comment', this);
|
|
Session.set('state', 'reply');
|
|
}
|
|
};
|
|
|
|
Template.comment.ago = function(){
|
|
var submitted = new Date(this.submitted);
|
|
return submitted.toString();
|
|
};
|