PageSourceSearch

https://themonarchmommy.com/wp-content/plugins/organic-customizer-widgets/public/js/masonry-setup.js?ver=1.0

js themonarchmommy.com collected 2026-10-04 13:26:37 UTC 1,169 bytes, 37 lines download raw bytes

1(function ($) {
2  'use strict'
3
4  /* Masonry --------------------- */
5  function masonrySetup () {
6    var $container = $('.organic-widgets-masonry-container')
7    var $gallery = $('.organic-widgets-masonry-container.organic-widgets-gallery')
8    $container.masonry({
9      itemSelector: '.organic-widgets-masonry-wrapper'
10    })
11    $gallery.masonry({
12      gutter: '.organic-widgets-grid-spacer',
13      itemSelector: '.organic-widgets-masonry-wrapper'
14    })
15    // if (typeof wp.customize !== 'undefined') {
16    //   wp.customize.selectiveRefresh.bind('sidebar-updated', function () {
17    //     $container.masonry('reloadItems')
18    //     $container.masonry('layout')
19    //     $gallery.masonry('reloadItems')
20    //     $gallery.masonry('layout')
21    //   })
22    // }
23  }
24
25  $(window).on('load', masonrySetup)
26  $(window).on('resize', masonrySetup)
27
28  $(window).on('load', function () {
29    // Check for customizer and listen for changes that require rebindings
30    if (typeof wp.customize !== 'undefined') {
31      wp.customize.selectiveRefresh.bind('partial-content-rendered', function () {
32        setTimeout(masonrySetup, 250)
33      })
34    }
35  })
36
37})(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.