This commit is contained in:
Abhishek Kumar
2023-11-15 17:25:34 +05:30
parent ed50cbba53
commit 00315c8ca1

View File

@@ -630,8 +630,8 @@ function updatePaymentMethodsDisplay()
function updateAddressSelection(is_adv_api)
{
var idAddress_delivery = ($('#opc_id_address_delivery').length == 1 ? $('#opc_id_address_delivery').val() : $('#id_address_delivery').val());
var idAddress_invoice = ($('#opc_id_address_invoice').length == 1 ? $('#opc_id_address_invoice').val() : ($('#addressesAreEquals:checked').length == 1 ? idAddress_delivery : ($('#id_address_invoice').length == 1 ? $('#id_address_invoice').val() : idAddress_delivery)));
var idAddress_delivery = $('#opc_id_address_delivery').val();
var idAddress_invoice = $('#opc_id_address_invoice').val();
$('#opc_account-overlay').fadeIn('slow');
$('#opc_delivery_methods-overlay').fadeIn('slow');