diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2025-07-20 13:50:14 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2025-07-20 13:50:14 +0800 |
commit | d66c3233d1862c409ba4b864a99436fb62f512f9 (patch) | |
tree | 346479301d263162066c43f281c98fa1e9df23af /index.js | |
parent | c8fb99f2fa53bb7f61bfdca2b812e0b848ea58fe (diff) |
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 | ||