diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2025-01-02 01:21:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-01 17:21:13 +0000 |
commit | c1167709ed1cba035d8c0809a6da6d5d1c8638e5 (patch) | |
tree | 2fc4907c3e3ad542697c812bf2613306deb1f408 /web_src/js/globals.d.ts | |
parent | 85c756e2799c6e427c6b05901dd60d52c9b25142 (diff) | |
download | gitea-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.ts | 3 |
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 |