1(function($) { 2 $(document).ready(function() { 3 $('.ngg-pro-masonry-wrapper').each(function () { 4 var $parent = $(this); 5 var $self = $parent.find('.ngg-pro-masonry'); 6 var $spinner = $parent.find('.ngg-pro-masonry-spinner'); 7 8 $self.waitForImages(function() { 9 $spinner.hide(); 10 $self.show().masonry({ 11 itemSelector: '.ngg-pro-masonry-item', 12 gutter: '.ngg-pro-masonry-gutter', 13 columnWidth: '.ngg-pro-masonry-sizer', 14 fitWidth: nextgen_pro_masonry_settings.center_gallery === '0' ? false : true 15 }); 16 $(window).trigger('refreshed'); 17 }); 18 19 $(window).on('resize orientationchange', function (event) { 20 setTimeout(function () { 21 $self.masonry(); 22 }, 500); 23 }); 24 }); 25 }); 26})(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.