Skip to content
Snippets Groups Projects
Commit 845389b9 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

debug

parent 1b286594
No related branches found
No related tags found
No related merge requests found
...@@ -106,10 +106,14 @@ export default { ...@@ -106,10 +106,14 @@ export default {
}, },
copy_link() { copy_link() {
let link = this.create_link() let link = this.create_link()
console.log(link) let self = this
navigator.clipboard.writeText(link); navigator.clipboard.writeText(link).then(() => {
this.what_copied = "Lenka" self.what_copied = "Lenka"
this.copy_popup = true self.copy_popup = true
}).catch(err => {
console.log("ERROR COPYING:",err)
})
}, },
copy_citation() { copy_citation() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment