cff-blocks.js
2 weeks ago
cff-scripts.js
2 weeks ago
cff-scripts.min.js
2 weeks ago
elementor-preview.js
2 weeks ago
jquery.matchHeight-min.js
2 weeks ago
elementor-preview.js
18 lines
| 1 | (function ($) { |
| 2 | var cff_init_widget = function ($scope, $) { |
| 3 | cff_init(); |
| 4 | if( jQuery('#cff.cff-lb').length && jQuery('#cff-lightbox-wrapper').length == 0) cffLightbox(); |
| 5 | }; |
| 6 | |
| 7 | var registerHooks = function () { |
| 8 | elementorFrontend.hooks.addAction('frontend/element_ready/cff-widget.default', cff_init_widget); |
| 9 | }; |
| 10 | |
| 11 | if ( window.elementorFrontend && window.elementorFrontend.hooks ) { |
| 12 | registerHooks(); |
| 13 | } else { |
| 14 | $( window ).on( 'elementor/frontend/init', registerHooks ); |
| 15 | } |
| 16 | |
| 17 | })(jQuery); |
| 18 |