diff --git a/src/components/ArticleFooter.vue b/src/components/ArticleFooter.vue index 2dc99f59fd892c576460f3dc9cc0075cdb68b985..69c6795f4122b73a011137f5845a3f00daf6739c 100644 --- a/src/components/ArticleFooter.vue +++ b/src/components/ArticleFooter.vue @@ -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() {