1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 00:24:31 +00:00
gitea/web_src/js/utils
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
..
color.js Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
color.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
dom.js Replace ajax with fetch, improve image diff (#27267) (#27583) 2023-10-11 16:12:31 +02:00
match.js Avoiding accessing undefined mentionValues (#26461) 2023-08-12 08:36:23 +00:00
match.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
url.js Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
url.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00