1/** 2 * Posts 3 */ 4( function( $ ) { 5 6 function canvasInitPostsMasonry() { 7 $( '.cnvs-block-posts-layout-masonry:not(.cnvs-block-posts-layout-masonry-colcade-ready)' ) 8 .addClass( 'cnvs-block-posts-layout-masonry-colcade-ready' ) 9 .each( function() { 10 new Colcade( this, { 11 columns: '.cnvs-block-post-grid-col', 12 items: '.cnvs-block-post-grid-item' 13 }); 14 } ); 15 } 16 17 $( document ).ready( function() { 18 canvasInitPostsMasonry(); 19 $( document.body ).on( 'post-load', function() { 20 canvasInitPostsMasonry(); 21 } ); 22 } ); 23 24} )( 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.