forgejo/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
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
url.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00