forked from gitea/gitea
1
0
Fork 0
gitea/web_src/js/modules
Giteabot 7ec7c733c7
Replace ajax with fetch, improve image diff (#27267) (#27583)
Backport #27267 by @silverwind

1. Dropzone attachment removal, pretty simple replacement
2. Image diff: The previous code fetched every image twice, once via
`img[src]` and once via `$.ajax`. Now it's only fetched once and a
second time only when necessary. The image diff code was partially
rewritten.

Co-authored-by: silverwind <me@silverwind.io>
2023-10-11 16:12:31 +02:00
..
aria Improve dropdown's behavior when there is a search input in menu (#27526) (#27534) 2023-10-09 15:15:18 +08:00
dirauto.js Check newly added node type before "attachDirAuto" (#26972) 2023-09-08 18:17:08 +08:00
fetch.js Replace ajax with fetch, improve image diff (#27267) (#27583) 2023-10-11 16:12:31 +02:00
fetch.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
fomantic.js Improve dropdown's behavior when there is a search input in menu (#27526) (#27534) 2023-10-09 15:15:18 +08:00
sortable.js Import `sortablejs` only once (#25936) 2023-07-17 18:06:37 +00:00
stores.js Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
tippy.js Batch delete issue and improve tippy opts (#25253) 2023-06-19 15:46:50 +08:00
toast.js Refactor toast module (#26677) 2023-08-23 07:25:13 +00:00
toast.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00