diff options
author | silverwind <me@silverwind.io> | 2024-03-31 18:06:06 +0200 |
---|---|---|
committer | Gergely Nagy <forgejo@gergo.csillger.hu> | 2024-04-07 15:40:31 +0200 |
commit | d40127a3e8d456b21266f8c44fa9555e0d7175fa (patch) | |
tree | eb8427434dcb20e326f6176f2413b5793eda7b2e /web_src/js/features/copycontent.js | |
parent | Remove most jQuery function calls from the repository topic box (#30191) (diff) | |
download | forgejo-d40127a3e8d456b21266f8c44fa9555e0d7175fa.tar.xz forgejo-d40127a3e8d456b21266f8c44fa9555e0d7175fa.zip |
Remove fomantic input module (#30194)
Another pure CSS module. Some styling is part of the `form` module which
will likely follow next.
(cherry picked from commit ff334749f58c71980ec19143bc21c0a799074b30)
Conflicts:
- web_src/js/components/DashboardRepoList.vue
Resolved the conflict by manually applying the Gitea change.
Diffstat (limited to '')
-rw-r--r-- | web_src/js/features/copycontent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/features/copycontent.js b/web_src/js/features/copycontent.js index 3d3b2a697e..03efe00701 100644 --- a/web_src/js/features/copycontent.js +++ b/web_src/js/features/copycontent.js @@ -19,7 +19,7 @@ export function initCopyContent() { // the text to copy is not in the DOM or it is an image which should be // fetched to copy in full resolution if (link) { - btn.classList.add('is-loading', 'small-loading-icon'); + btn.classList.add('is-loading', 'loading-icon-2px'); try { const res = await GET(link, {credentials: 'include', redirect: 'follow'}); const contentType = res.headers.get('content-type'); @@ -33,7 +33,7 @@ export function initCopyContent() { } catch { return showTemporaryTooltip(btn, i18n.copy_error); } finally { - btn.classList.remove('is-loading', 'small-loading-icon'); + btn.classList.remove('is-loading', 'loading-icon-2px'); } } else { // text, read from DOM const lineEls = document.querySelectorAll('.file-view .lines-code'); |