Skip to content

Commit 1d9cee7

Browse files
authored
Update comments.html
1 parent 4f30fc4 commit 1d9cee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comments.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
body: {
259259
"post_id": postfed.post.post.id,
260260
"content": `${document.getElementById("commentinput").value}`,
261-
"path": compath
261+
"parent_id": compath
262262
}
263263
})
264264
});
@@ -377,7 +377,7 @@
377377
<span style="color: ${dislikecolor};" id="down${comment.comment.id}">${comment.counts.downvotes}</span>
378378
</div>
379379
<div class="counter">
380-
<button onclick="pathzero(${comment.comment.path}, 'table', 'you answering on the comment ${cerotinicosi}')">💬</button>
380+
<button onclick="pathzero(${comment.comment.id}, 'table', 'you answering on the comment ${cerotinicosi}')">💬</button>
381381
</div>
382382
</div>
383383
`;

0 commit comments

Comments
 (0)