Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/blog-designer-pack/assets/js/vc/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/blog-designer-pack/assets/js/vc/bdp-vc-frontend.js |
(function ( $ ) {
/**
* WP Bakery Shortcode Events
*/
window.vc.events.on( 'shortcodeView:ready', function ( model ) {
bdp_vc_init_shortcodes( model );
});
/* Initialize Plugin Shortcode */
function bdp_vc_init_shortcodes( model ) {
var modelId, settings;
modelId = model.get( 'id' );
settings = vc.map[ model.get( 'shortcode' ) ] || false;
if( settings.base == 'vc_raw_html'
|| settings.base == 'vc_column_text'
|| settings.base == 'vc_wp_text'
|| settings.base == 'vc_message'
|| settings.base == 'vc_toggle'
|| settings.base == 'vc_cta'
) {
window.vc.frame_window.bdp_init_post_slider();
window.vc.frame_window.bdp_init_post_carousel();
window.vc.frame_window.bdp_init_post_hticker();
window.vc.frame_window.bdp_init_post_masonry();
window.vc.frame_window.bdp_init_post_vticker();
}
}
})( window.jQuery );