This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
memberdb/public/mt/assets/pages/scripts/checkout.js
2017-08-03 16:35:36 +10:00

22 lines
535 B
JavaScript

var Checkout = function () {
return {
init: function () {
$('#checkout').on('change', '#checkout-content input[name="account"]', function() {
var title = '';
if ($(this).attr('value') == 'register') {
title = 'Step 2: Account & Billing Details';
} else {
title = 'Step 2: Billing Details';
}
$('#payment-address .accordion-toggle').html(title);
});
}
};
}();