1/** 2 * Handles the events in the public facing window. 3 */ 4jQuery(document).ready( function($) { 5 6 "use strict"; 7 /** 8 * Masonry layout for block. 9 */ 10 // $( '.cv-block' ).each( function() { 11 // var Pid = $(this).attr('id'); 12 // if( Pid === 'cv-masonry-post-layout' ) { 13 // $(this).find( '.cv-post-wrapper' ).masonry(); 14 // } 15 // }); 16 var masonryContainer = $( '.cv-masonry-post-layout' ); 17 if( masonryContainer.length !== 0 ) { 18 masonryContainer.each( function() { 19 var Pid = $(this).attr('id'); 20 var container = $( '#' + Pid + ' .cv-post-wrapper' ); 21 container.imagesLoaded( function() { 22 container.masonry(); 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.