mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-11-11 07:30:28 +00:00
add fallback for copying to clipboard
This commit is contained in:
1 parent
336784519b
commit
89944eb2b6
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