PageSourceSearch

https://tobymac.com/wp-content/plugins/kadence-blocks/dist/kb-masonry-init.js?ver=1.9.3

js tobymac.com collected 2026-10-02 06:04:02 UTC 632 bytes, 23 lines download raw bytes

1jQuery( document ).ready( function( $ ) {
2	// Init Masonry
3	$( '.kb-masonry-init' ).each( function() {
4		var itemSelector = $( this ).attr( 'data-item-selector' );
5		var masRtl = true;
6		if ( $( 'html[dir="rtl"]' ).length ) {
7			masRtl = false;
8		}
9		var masGrid = $( this ).masonry( {
10			itemSelector: itemSelector,
11			isOriginLeft: masRtl,
12		} );
13		$( this ).find( itemSelector ).each( function( i ) {
14			var item = $( this );
15			setTimeout( function( ) {
16				item.addClass( 'kt-masonry-trigger-animation' );
17			}, i * 75 );
18		} );
19		masGrid.imagesLoaded().progress( function() {
20			masGrid.masonry( 'layout' );
21		} );
22	} );
23} );

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.