diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ function modalForLink (a) { | |||
42 | modal.showModal() | 42 | modal.showModal() |
43 | } | 43 | } |
44 | const copyLink = (ele) => { | 44 | const copyLink = (ele) => { |
45 | navigator.clipboard.writeText(link.href) | 45 | window.navigator.clipboard.writeText(link.href) |
46 | ele.textContent = '👌COPIED' | 46 | ele.textContent = '👌COPIED' |
47 | } | 47 | } |
48 | 48 | ||