]> source.dussan.org Git - gitea.git/commit
Refactor language menu and dom utils (#32450)
authorwxiaoguang <wxiaoguang@gmail.com>
Fri, 8 Nov 2024 06:04:24 +0000 (14:04 +0800)
committerGitHub <noreply@github.com>
Fri, 8 Nov 2024 06:04:24 +0000 (14:04 +0800)
commit0f397ae09b028e3537d70659409ac6a1f069033e
treea6e02fcc438046eb8e8402b329ce8fcbbbac3e15
parent35bcd667b23de29a7b0d0bf1090fb10961d3aca3
Refactor language menu and dom utils (#32450)

1. Make `queryElem*` functions could correctly handle TS types
2. Remove some legacy jQuery $ calls (introduce fomanticQuery for Fomantic UI only)
3. Fix some TS typing problems
templates/base/footer_content.tmpl
web_src/css/home.css
web_src/js/features/common-page.ts
web_src/js/features/imagediff.ts
web_src/js/features/repo-common.ts
web_src/js/features/repo-editor.ts
web_src/js/features/repo-settings.ts
web_src/js/modules/fomantic/base.ts
web_src/js/modules/tippy.ts
web_src/js/utils/dom.ts