]> source.dussan.org Git - gitea.git/commit
Wrap around for previous/next buttons (#16319)
authorJimmy Praet <jimmy.praet@telenet.be>
Thu, 1 Jul 2021 22:02:48 +0000 (00:02 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Jul 2021 22:02:48 +0000 (00:02 +0200)
commita3476e5ad5ee87d4e985b9a3e914bf5348216745
treea640ceb9ad2d1a4190030d6a562fb883b4c65a24
parent290f458d46d4774ac47dca40af4e1c8b9bea755e
Wrap around for previous/next buttons (#16319)

Fixes #16317

Wrap around from last to first comment when clicking "Next" on last comment.
Wrap around from first to last comment when clicking "Previous" on first comment.
web_src/js/index.js