mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
13 lines
317 B
JavaScript
13 lines
317 B
JavaScript
Template.selected_comment.show = function(){
|
|
return Session.equals('state', 'reply');
|
|
};
|
|
|
|
Template.selected_comment.post = function(){
|
|
var post = Session.get('selected_post');
|
|
return post;
|
|
};
|
|
|
|
Template.selected_comment.comment = function(){
|
|
var comment = Session.get('selected_comment');
|
|
return comment;
|
|
};
|