forked from retoor/devplacepy
fix: migrate CI branch references from master to main and add comments created_at index
This commit is contained in:
@@ -22,7 +22,7 @@ class Application {
|
||||
this.initStopPropagation();
|
||||
this.initMessageThread();
|
||||
this.initPlatformTags();
|
||||
this.initAttachmentUploaders();
|
||||
this.initAttachmentManagers();
|
||||
}
|
||||
|
||||
loadCSS(href) {
|
||||
@@ -253,8 +253,7 @@ class Application {
|
||||
}
|
||||
|
||||
initCommentReply() {
|
||||
document.querySelectorAll(".comment-action-btn").forEach((btn) => {
|
||||
if (btn.textContent.trim() !== "Reply") return;
|
||||
document.querySelectorAll("[data-action='reply']").forEach((btn) => {
|
||||
btn.addEventListener("click", (e) => {
|
||||
e.preventDefault();
|
||||
const comment = btn.closest(".comment");
|
||||
|
||||
Reference in New Issue
Block a user