mirror of
https://github.com/go-gitea/gitea
synced 2025-02-09 06:37:02 +01:00
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>