1/** 2 * Elementor live preview handler 3 * 4 */ 5 jQuery(document).ready(function($) { 6 if( window.elementorFrontend ) { 7 if( typeof( elementorFrontend.hooks ) != 'undefined' ) { 8 /** 9 * Masonry elementor preview 10 * 11 */ 12 elementorFrontend.hooks.addAction( 'frontend/element_ready/cv-masonry-blog-post-layout.default', function( $scope, $ ) { 13 var masonryContainer = $scope.find( '.cv-masonry-post-layout' ); 14 if( masonryContainer.length !== 0 ) { 15 masonryContainer.each( function() { 16 var Pid = $(this).attr('id'); 17 var container = $( '#' + Pid + ' .cv-post-wrapper' ); 18 container.imagesLoaded( function() { 19 container.masonry(); 20 }) 21 }); 22 } 23 }); 24 } 25 } 26})
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.