Commit 845389b9 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

debug

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