aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/globals.d.ts
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2025-01-02 01:21:13 +0800
committerGitHub <noreply@github.com>2025-01-01 17:21:13 +0000
commitc1167709ed1cba035d8c0809a6da6d5d1c8638e5 (patch)
tree2fc4907c3e3ad542697c812bf2613306deb1f408 /web_src/js/globals.d.ts
parent85c756e2799c6e427c6b05901dd60d52c9b25142 (diff)
downloadgitea-c1167709ed1cba035d8c0809a6da6d5d1c8638e5.tar.gz
gitea-c1167709ed1cba035d8c0809a6da6d5d1c8638e5.zip
Refactor repo-new.ts (#33070)
1. merge `repo-template.ts` into `repo-new.ts` (they are all for "/repo/create") 2. remove jquery 3. fix an anonying fomantic dropdown bug, see the comment of `onResponseKeepSelectedItem`
Diffstat (limited to 'web_src/js/globals.d.ts')
-rw-r--r--web_src/js/globals.d.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/js/globals.d.ts b/web_src/js/globals.d.ts
index c08ff9976b..0c540ac296 100644
--- a/web_src/js/globals.d.ts
+++ b/web_src/js/globals.d.ts
@@ -36,8 +36,9 @@ declare module 'swagger-ui-dist/swagger-ui-es-bundle.js' {
}
interface JQuery {
- api: any, // fomantic
areYouSure: any, // jquery.are-you-sure
+ fomanticExt: any; // fomantic extension
+ api: any, // fomantic
dimmer: any, // fomantic
dropdown: any; // fomantic
modal: any; // fomantic