]> source.dussan.org Git - gitea.git/commit
Remove jQuery `.attr` from the diff page (#30021)
authorYarden Shoham <git@yardenshoham.com>
Sat, 23 Mar 2024 12:37:18 +0000 (14:37 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Mar 2024 12:37:18 +0000 (13:37 +0100)
commit74c1378dfb5f1831ca2bf1f0b18ab150134f4beb
treeae5eebb3fe3f79a53c3341a6cac2bf93490a47b2
parent26dbca741114587f4191050a76ee1a36282a2018
Remove jQuery `.attr` from the diff page (#30021)

- Switched from jQuery `.attr` to plain javascript `getAttribute` and
`setAttribute`
- Tested the review box counter and Previous/Next code review
conversation buttons. They work as before

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: silverwind <me@silverwind.io>
web_src/js/features/repo-diff.js