Skip to content

Commit

Permalink
fix: expand animation
Browse files Browse the repository at this point in the history
  • Loading branch information
shaokeyibb authored and Enter-tainer committed Sep 28, 2024
1 parent 26549e6 commit 9a6ef0c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/lib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,6 @@ const _renderComments = (comments: Comment[]) => {
commentExpand.addEventListener("click", () => {
commentExpand.style.display = "none";
commentFold.style.display = "";
commentMain.style.maxHeight = "100%";
commentMain.style.maxHeight = commentMain.scrollHeight + "px";
});
commentFold.addEventListener("click", () => {
Expand Down

0 comments on commit 9a6ef0c

Please sign in to comment.