From 13760df80b6cd895439d15a0b91b9f45583d48c0 Mon Sep 17 00:00:00 2001 From: Sacha Greif Date: Sat, 29 Sep 2012 17:19:48 +0900 Subject: [PATCH] made comment edit field constant --- client/templates/comment_edit.html | 2 ++ server/scoring.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/templates/comment_edit.html b/client/templates/comment_edit.html index 1a11a9603..975cc7ba2 100644 --- a/client/templates/comment_edit.html +++ b/client/templates/comment_edit.html @@ -2,10 +2,12 @@
{{#with comment}}
+ {{#constant}}
+ {{/constant}}
Delete Comment diff --git a/server/scoring.js b/server/scoring.js index e90d79481..f81297dfe 100644 --- a/server/scoring.js +++ b/server/scoring.js @@ -22,5 +22,5 @@ Meteor.startup(function () { Meteor.setInterval(function () { Posts.find().forEach(function (post) { updateScore(Posts, post._id); }); Comments.find().forEach(function (comment) { updateScore(Comments, comment._id); }); - }, 10 * 1000); + }, 3 * 1000); });