1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-31 03:18:24 +00:00
Files
gitea/web_src/js/markup/anchors.js
Giteabot 688107651c Small refactors in anchors.js (#29947) (#30003)
Backport #29947 by @silverwind

Some minor refactors, remove unnecessary `:is` selector and move the
`:target` check out of the function. Might as well backport for the rare
browser that does not support `:is`.

Co-authored-by: silverwind <me@silverwind.io>
2024-03-22 15:02:05 +01:00

2.4 KiB