summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2025-07-20 13:50:14 +0800
committerHsieh Chin Fan <pham@topo.tw>2025-07-20 13:50:14 +0800
commitd66c3233d1862c409ba4b864a99436fb62f512f9 (patch)
tree346479301d263162066c43f281c98fa1e9df23af /index.js
parentc8fb99f2fa53bb7f61bfdca2b812e0b848ea58fe (diff)
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index cdd4b81..ee4c011 100644
--- a/index.js
+++ b/index.js
@@ -42,7 +42,7 @@ function modalForLink (a) {
42 modal.showModal() 42 modal.showModal()
43} 43}
44const copyLink = (ele) => { 44const 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