Fixed share modal copy button issue..

This commit is contained in:
Cüneyt Şentürk
2022-08-31 15:28:40 +03:00
parent 9f172b9c0b
commit 8311d7f1da
2 changed files with 6 additions and 6 deletions

View File

@ -617,11 +617,12 @@ export default {
},
methods: {
onCopyLink(event) {
onCopyLink() {
let type = 'success';
let copyText = document.querySelector('#dynamic-share-component #hidden-share');
copyText.select();
document.execCommand("copy");
let copy_html = document.getElementById('share');
copy_html.select();
document.execCommand('copy');
this.$notify({
message: this.share.success_message,