- Gitea version (or commit ref): 1.15.0+dev-521-g365c4e931
- Can you reproduce the bug at https://try.gitea.io:
Description
Currently, the next/ previous button for the next or previous PR comment will be shown regardless whether there actually is a next or previous PR comment. Clicking them in this state simply does nothing.
It would be more intuitive if either these buttons would be disabled or completely removed when no such comment exists.
Another approach would be to circularly link to the next comment, meaning that clicking on previous on the first comment would link to the last comment, and vice versa. This could even be better than disabling them, especially when they are still opened.
Screenshots

Currently, the previous button gets displayed even for the first PR comment