summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
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