We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 540ed93 commit 7d1025aCopy full SHA for 7d1025a
app/components/LogoContextMenu.vue
@@ -43,7 +43,9 @@ async function copySvg() {
43
})
44
await navigator.clipboard.write([item])
45
copied.value = true
46
- setTimeout(() => { copied.value = false }, 2000)
+ setTimeout(() => {
47
+ copied.value = false
48
+ }, 2000)
49
} catch {
50
// Fallback for older browsers that don't support ClipboardItem with promises
51
const res = await fetch('/logo.svg')
@@ -57,7 +59,9 @@ async function copySvg() {
57
59
document.execCommand('copy')
58
60
document.body.removeChild(textarea)
61
62
63
64
65
}
66
setTimeout(close, 1000)
67
0 commit comments