/** * Preview Output Wizard * * @author ConvertKit */ /** * Appends a field value to a link. Used for previews. $('select.convertkit-preview-output-link') .on('change', function () { const target = $(this).data('target'), link = $(this).data('link') + $(this).val(); $(target).attr('href', link); }) .trigger('change'); });