jQuery(document).on('pumAfterOpen', function() { if (typeof Calendly !== 'undefined') { Calendly.initInlineWidgets(); } });