gitea/web_src/js
wxiaoguang d28a7f9fea
Fix dropdown delegating and some UI problems (#34014)
The old logic is incomplete. See the comment for the improved logic.

Fix #34011

And more fixes:

1. use empty "alt" for images, otherwise the width is not right when the
image fails to load
2. remove the "dropdown icon" patch, because it has been clearly done in
"dropdown.js" now
3. remove the "dropdown filtered item" patch, added a clear callback,
and improve the logic
4. fix global init when a node is removed and added back gain (eg: the
"cherry pick" dialog with a dropdown)
2025-03-26 02:51:22 +00:00
..
components Add file tree to file view page (#32721) 2025-03-15 16:26:49 +08:00
features Fix some migration and repo name problems (#33986) 2025-03-24 20:26:58 -07:00
markup Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
modules Fix dropdown delegating and some UI problems (#34014) 2025-03-26 02:51:22 +00:00
render Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
standalone Update TypeScript types (#33799) 2025-03-05 08:03:44 -08:00
utils Refactor global init code and add more comments (#33755) 2025-03-03 10:57:28 +08:00
vendor Fix areYouSure confirm (#32941) 2024-12-21 12:11:22 -05:00
webcomponents Fix "toAbsoluteLocaleDate" test when system locale is not en-US (#33939) 2025-03-19 19:49:05 +08:00
bootstrap.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
bootstrap.ts Add types to fetch,toast,bootstrap,svg (#31627) 2024-07-25 23:31:24 +00:00
globals.d.ts Fix various Fomantic UI and htmx problems (#33851) 2025-03-11 11:35:05 -07:00
globals.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
htmx.ts Update JS and PY deps, misc tweaks (#33903) 2025-03-16 10:04:18 +01:00
index.ts Add file tree to file view page (#32721) 2025-03-15 16:26:49 +08:00
svg.test.ts Remove "class-name" from svg icon (#33540) 2025-02-09 22:39:54 +02:00
svg.ts Add file tree to file view page (#32721) 2025-03-15 16:26:49 +08:00
types.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
utils.test.ts Use git diff-tree for DiffFileTree on diff pages (#33514) 2025-02-28 00:58:25 +00:00
utils.ts Use git diff-tree for DiffFileTree on diff pages (#33514) 2025-02-28 00:58:25 +00:00
vitest.setup.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00