$(document).ready(function() { // REMOVE LIST OF BRANCHES $('.voucher_single-location.default-font-color').text("This voucher is only applicable in Participating Stores"); // VOUCHER LIST // For Box of Advocate Cat/Dog Reward please first check for availability of gift item in the clinic before downloading voucher for redemption. const pointLabel = $('div.reward-body-container div.status_item').find('h6'); $('div.reward-body-container div.status_item').html('For Box of Advocate Cat/Dog Reward please first check for availability of gift item in the clinic before downloading voucher for redemption.').append(pointLabel[0]); // delivery-address-input // ADDRESS MODAL CHANGE $('#popup_attempt_reward_need_address').on('shown.bs.modal', function () { $('.delivery-address-input').val(""); $('.delivery-address-input2').val(""); $('.delivery-postal-input').val("").attr('placeholder', 'Postal Code'); $('.delivery-state-input').val(""); $('label').each(function () { if ($(this).text().trim().toLowerCase() === 'label.address_line_2') { // Change the label text $(this).text('Address Line 2'); } }); }); // $('.challenge-shortcut-content').remove(); $('#popup_challenge_list').on('shown.bs.modal', function () { // $('#24').hide().remove(); // $('#24').remove(); // const socmed = $('#22'); // $('#challenge_list').html('').append(socmed); }); // $('.text-bold:contains("Tries Left")').remove(); // $('#share_btn').remove(); });