]> source.dussan.org Git - gitea.git/commit
Remove jQuery calls that have no effect on `showElem` and `hideElem` (#30110)
authorYarden Shoham <git@yardenshoham.com>
Tue, 26 Mar 2024 19:38:37 +0000 (21:38 +0200)
committerGitHub <noreply@github.com>
Tue, 26 Mar 2024 19:38:37 +0000 (19:38 +0000)
commita1f11e2e33f20409eac65b2d0e9a7cd7c767eb72
tree203b91db91e73b520683e444d6cda0a7277f1f7d
parente0b018706fa7703ef1759d9a75a1399383715808
Remove jQuery calls that have no effect on `showElem` and `hideElem` (#30110)

There's no need to initialize a jQuery object with a CSS selector when
we can pass the CSS selector directly.

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
web_src/js/features/admin/common.js
web_src/js/features/org-team.js
web_src/js/features/repo-editor.js