mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-24 20:35:01 +00:00
add fallback for copying to clipboard
This commit is contained in:
1 parent
45f5006db3
commit
2684e4b3f4
3 files changed
+17
-2
No files matched your search
@@ -25,7 +25,7 @@
|
||||
|
||||
async function copyLogs() {
|
||||
const logs = packageInfoLogs.text();
|
||||
await navigator.clipboard.writeText(logs);
|
||||
await copyToClipboard(logs);
|
||||
|
||||
packageInfoLogsCopyButton.html("<i class=\"bi bi-clipboard-check\"></i> copied");
|
||||
setTimeout(()=> {
|
||||
|
||||
Reference in new issue
Block a user