gitea/web_src/js
silverwind 1a4f693f9f
Fix JS error and improve error message styles (#29963)
Fixes: https://github.com/go-gitea/gitea/issues/29956. This error
exposed a existing bug in the code, it was just never noticed because
the jQuery expression evaluated without error before while the new one
doesn't.

Also improves error message styles:

Before:
<img width="1338" alt="Screenshot 2024-03-21 at 09 16 07"
src="https://github.com/go-gitea/gitea/assets/115237/1cc1ef89-ad94-491e-bbca-75387f7547a0">

After:
<img width="1335" alt="Screenshot 2024-03-21 at 09 15 44"
src="https://github.com/go-gitea/gitea/assets/115237/312efc79-5353-4e2a-a703-1bccd3c01736">
2024-03-21 10:16:11 +00:00
..
components Migrate border and margin classes to Tailwind (#29828) 2024-03-18 14:47:05 +00:00
features Fix JS error and improve error message styles (#29963) 2024-03-21 10:16:11 +00:00
markup Fix and rewrite markup anchor processing (#29931) 2024-03-21 01:02:53 +02:00
modules Forbid HTML injection using jQuery (#29843) 2024-03-16 13:25:27 +00:00
render Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
utils Support pasting URLs over markdown text (#29566) 2024-03-08 15:15:58 +00:00
vendor Vendor jquery.are-you-sure with strict mode fixes (#26901) 2023-09-06 00:02:44 +00:00
webcomponents Prevent layout shift in <overflow-menu> items (#29831) 2024-03-20 17:00:35 +00:00
bootstrap.js Fix JS error and improve error message styles (#29963) 2024-03-21 10:16:11 +00:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) 2024-01-21 14:23:08 +00:00
htmx.js Auto-update the system status in admin dashboard (#29163) 2024-02-16 02:52:25 +00:00
index.js Filter Repositories by type (#29231) 2024-03-03 10:18:34 +00:00
jquery.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
svg.js Artifact deletion in actions ui (#27172) 2024-02-18 10:33:50 +00:00
svg.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
utils.js enforce maxlength in frontend (#29389) 2024-02-25 14:31:15 +00:00
utils.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
vitest.setup.js Move vitest setup file to root (#29097) 2024-02-08 20:07:02 +08:00