Closed
Description
Gitea Version
1.16.0+dev-581-gbaed01f24
Git Version
No response
Operating System
No response
How are you running Gitea?
try.gitea.io
Database
No response
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
The comment edit history dropdowns are only initialized once when the page loads.
If additional diffs are loaded afterwards (via "Show More" or "Load Diff"), their code comments don't have the edit history.
Example:
- https://try.gitea.io/jpraet-org/test-repo/pulls/1/files -> "Show More" -> you'll see the edited comment on file 99 has the edit history dropdown, while the edited comment on file 105 does not
- https://try.gitea.io/jpraet-org/test-repo/pulls/2/files -> "Load Diff" -> the edited comment does not have the dropdown