diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/wishlist/wishlist.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/wishlist/wishlist.blade.php index b814b003f..ab7040ce9 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/wishlist/wishlist.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/wishlist/wishlist.blade.php @@ -130,12 +130,14 @@ - +
@@ -193,8 +195,8 @@ copyToClipboard: function() { this.$refs.sharedLink.focus(); - document.execCommand('copy'); + showCopyMessage(); } } }); @@ -210,5 +212,11 @@ return; } + + function showCopyMessage() + { + $('#copy-btn').text("{{ __('shop::app.customer.account.wishlist.copied') }}"); + $('#copy-btn').css({backgroundColor: '#146e24'}); + } @endpush \ No newline at end of file