diff --git a/content/master.blade.php b/content/master.blade.php index 10a9f7d..8871782 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -217,8 +217,8 @@
- - + +
@@ -422,6 +422,11 @@ objProducts[index].quantity = quantity; updateProductsInLocalStorage(); }); + $('#btn-copy-cart-link').click(function(){ + $('.cart-link').select(); + document.execCommand("copy"); + $(this).html(``); + }); }); @yield('scripts')