Issue #Enhancement #6273 done
This commit is contained in:
parent
da67547399
commit
7470ea71cf
|
|
@ -117,6 +117,8 @@
|
|||
{{ __('shop::app.customer.account.wishlist.shared-link') }}
|
||||
</label>
|
||||
|
||||
<p id="copy-message" class="d-none bg-dark text-white text-bold">Link copied</p>
|
||||
|
||||
<div class="input-group" v-if="isWishlistShared">
|
||||
<input
|
||||
type="text"
|
||||
|
|
@ -193,7 +195,7 @@
|
|||
|
||||
copyToClipboard: function() {
|
||||
this.$refs.sharedLink.focus();
|
||||
|
||||
document.getElementById("copy-message").classList.add("d-block");;
|
||||
document.execCommand('copy');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue