]> source.dussan.org Git - gitea.git/commit
Remove jQuery `.attr` from the Fomantic dropdowns (#30114)
authorYarden Shoham <git@yardenshoham.com>
Wed, 27 Mar 2024 10:50:07 +0000 (12:50 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Mar 2024 10:50:07 +0000 (10:50 +0000)
commit0922ce8191ae83834b89b59c5c504209a8a0558e
treeed37319c7528e7e66564ded3371adc36b8dde33d
parenta190f68f1bf92554923a4adde50e5cbc637a2a2e
Remove jQuery `.attr` from the Fomantic dropdowns (#30114)

- Switched from jQuery `attr` to plain javascript `getAttribute` and
`setAttribute`
- Tested the dropdowns and they work as before

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io>
web_src/js/modules/fomantic/dropdown.js