mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
made comment edit field constant
This commit is contained in:
parent
6469740093
commit
13760df80b
2 changed files with 3 additions and 1 deletions
|
@ -2,10 +2,12 @@
|
|||
<div class="grid submit">
|
||||
{{#with comment}}
|
||||
<form class="grid-block form-horizontal">
|
||||
{{#constant}}
|
||||
<div class="control-group">
|
||||
<label class="control-label">Comment</label>
|
||||
<div class="controls" id="editor"><textarea id="body" value="" class="input-xlarge">{{body}}</textarea></div>
|
||||
</div>
|
||||
{{/constant}}
|
||||
<div class="form-actions">
|
||||
<a class="delete-link" href="/comments/deleted">Delete Comment</a>
|
||||
<input type="submit" value="Submit" />
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue