Gustavo Luigi 2022-09-02 12:34:12 +02:00
parent d3fe3f40bd
commit acb5581f69
1 changed files with 1 additions and 2 deletions

View File

@ -353,8 +353,7 @@
let url = null;
if(window.location.origin == 'http://localhost') url = window.location.origin+'/areya-energy/public/'+btoa(JSON.stringify(objProducts));
else url = window.location.origin+'/'+btoa(JSON.stringify(objProducts));
$('.cart-link').attr('href', url);
$('.cart-link').text(url);
$('.cart-link').val(url);
const shareData = {
title: "Share cart list",
text: 'share cart list',