1(function($){ 2 3 var initializeBlock = function( $block ) { 4 // Get Nested Element 5 $carousel = $block.find('.ol-panelgroup__content'); 6 7 $carousel.flickity({ 8 cellAlign: 'left', 9 pageDots: false, 10 wrapAround: false, 11 groupCells: true, 12 //freeScroll: true, 13 imagesLoaded: false, 14 watchCSS: true 15 }); 16 } 17 18 // Window Initialized 19 $(document).ready(function(){ 20 $('.ol-panelgroup').each(function(){ initializeBlock( $(this) ); }); 21 }); 22 23 // ACF Initialized 24 if( window.acf ) { 25 window.acf.addAction( 'render_block_preview/type=ol-panelgroup', initializeBlock ); 26 } 27 28})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.