Changed how comments are ided and classed
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
<div id="post-comments">
|
<div id="post-comments">
|
||||||
<% comments.forEach((comment, index) => { %>
|
<% comments.forEach((comment, index) => { %>
|
||||||
<div id="comment" class="post-comment-<%= index %>">
|
<div id="comment-no-<%= post.id %>-<%= comment.id %>" class="comment post-comment-<%= index %>">
|
||||||
<%- include('../partials/comment', {comment: comment}) %>
|
<%- include('../partials/comment', {comment: comment}) %>
|
||||||
</div>
|
</div>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<div id="post-comments">
|
<div id="post-comments">
|
||||||
<% comments.forEach((comment, index) => { %>
|
<% comments.forEach((comment, index) => { %>
|
||||||
<div id="comment-no<%= comment.id %>" class="post-comment-<%= index %>">
|
<div id="comment-no-<%= post.id %>-<%= comment.id %>" class="comment post-comment-<%= index %>">
|
||||||
<%- include('../partials/comment', {comment: comment}) %>
|
<%- include('../partials/comment', {comment: comment}) %>
|
||||||
</div>
|
</div>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<div id="post-comments">
|
<div id="post-comments">
|
||||||
<% comments.forEach((comment, index) => { %>
|
<% comments.forEach((comment, index) => { %>
|
||||||
<div id="comment-no<%= comment.id %>" class="post-comment-<%= index %>">
|
<div id="comment-no-<%= post.id %>-<%= comment.id %>" class="comment post-comment-<%= index %>">
|
||||||
<%- include('../partials/comment', {comment: comment}) %>
|
<%- include('../partials/comment', {comment: comment}) %>
|
||||||
</div>
|
</div>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<div id="post-comments">
|
<div id="post-comments">
|
||||||
<% comments.forEach((comment, index) => { %>
|
<% comments.forEach((comment, index) => { %>
|
||||||
<div id="comment-no<%= comment.id %>" class="post-comment-<%= index %>">
|
<div id="comment-no-<%= post.id %>-<%= comment.id %>" class="comment post-comment-<%= index %>">
|
||||||
<%- include('../partials/comment', {comment: comment}) %>
|
<%- include('../partials/comment', {comment: comment}) %>
|
||||||
</div>
|
</div>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
|
Reference in New Issue
Block a user