mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-01 22:13:00 +08:00

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`.