Skip to content

Commit

Permalink
Fix Unable to Preview a Reply for a Comment Before Publishing it (for…
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoGabriel55 authored May 16, 2024
1 parent 8f3799b commit f4a04bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function initializeCommentsPage() {
}

if (!buttForComment.classList.contains("reacted")) {
buttForComment.setAttribute('aria-pressed', 'false')
buttForComment.setAttribute('aria-pressed', 'false');
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@ export function initializeCommentPreview() {
return;
}

window.handleCommentPreview = handleCommentPreview;
previewButton.addEventListener('click', handleCommentPreview);
}

0 comments on commit f4a04bd

Please sign in to comment.