mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Update common/comment.js
This commit is contained in:
parent
8b7421b0d2
commit
004c411449
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ Meteor.methods({
|
||||||
var post=Posts.findOne(postId);
|
var post=Posts.findOne(postId);
|
||||||
var postUser=Meteor.users.findOne(post.userId);
|
var postUser=Meteor.users.findOne(post.userId);
|
||||||
var timeSinceLastComment=timeSinceLast(user, Comments);
|
var timeSinceLastComment=timeSinceLast(user, Comments);
|
||||||
var text= cleanUp(text);
|
var cleanText= cleanUp(text);
|
||||||
|
|
||||||
var properties={
|
var properties={
|
||||||
'commentAuthorId': user._id,
|
'commentAuthorId': user._id,
|
||||||
|
|
Loading…
Add table
Reference in a new issue