diff options
author | silverwind <me@silverwind.io> | 2024-03-17 11:04:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-17 11:04:59 +0100 |
commit | 4b1c88628a6856e533ff10d346ca5bd73ce952b3 (patch) | |
tree | 02fb4c5d65ebfe61da18e4a347a1e8f3e77c6b2e /web_src/js/features/repo-issue-pr-status.js | |
parent | c20b56815d4f27ffd1b457ec238e494adc5fba81 (diff) | |
download | gitea-4b1c88628a6856e533ff10d346ca5bd73ce952b3.tar.gz gitea-4b1c88628a6856e533ff10d346ca5bd73ce952b3.zip |
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>
Diffstat (limited to 'web_src/js/features/repo-issue-pr-status.js')
0 files changed, 0 insertions, 0 deletions