0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-21 23:27:37 +01:00
gitea/web_src/js
silverwind 4b1c88628a
Load citation JS only when needed (#29855)
Previously, the citation js would load every time when opening a citable
repo. Now it only loads when the user clicks the button for it. The
loading state is representend with a spinner on the button:

<img width="83" alt="Screenshot 2024-03-17 at 00 25 13"
src="https://github.com/go-gitea/gitea/assets/115237/29649089-13f3-4974-ab81-e12c0f8e651f">

Diff ist best viewed with whitespace hidden.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2024-03-17 11:04:59 +01:00
..
components fix double border and border-radius on empty action steps (#29845) 2024-03-16 17:03:56 +00:00
features Load citation JS only when needed (#29855) 2024-03-17 11:04:59 +01:00
markup
modules Forbid HTML injection using jQuery (#29843) 2024-03-16 13:25:27 +00:00
render
standalone
utils
vendor
webcomponents
bootstrap.js
bootstrap.test.js
htmx.js
index.js
jquery.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
svg.js
svg.test.js
utils.js
utils.test.js
vitest.setup.js