forgejo-federation/web_src
silverwind f2fc2dcfc9
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>
(cherry picked from commit 4b1c88628a6856e533ff10d346ca5bd73ce952b3)
2024-03-20 08:46:30 +01:00
..
css Load citation JS only when needed (#29855) 2024-03-20 08:46:30 +01:00
fomantic Fix semantic.json (#29860) 2024-03-20 08:46:30 +01:00
js Load citation JS only when needed (#29855) 2024-03-20 08:46:30 +01:00
svg Update various logos and unify their filenames (#29637) 2024-03-11 23:36:58 +07:00