1jQuery(window).on('elementor/frontend/init', function () { 2 elementorFrontend.hooks.addAction('frontend/element_ready/rkit_image_gallery.default', function ($scope, $) { 3 4 // Temukan semua gambar dengan kelas 'gallery_image' 5 const galleryImages = $scope.find('.gallery_image'); 6 7 galleryImages.each(function() { 8 var img = jQuery(this); 9 10 // Jika gambar sudah dimuat, langsung sembunyikan skeleton 11 if (img[0].complete) { 12 const skeleton = img.closest('.brick').find('.skeleton'); 13 if (skeleton.length) { 14 skeleton.hide(); 15 } 16 img.css('opacity', '1'); 17 } else { 18 img.on('load', function() { 19 const skeleton = img.closest('.brick').find('.skeleton'); 20 if (skeleton.length) { 21 skeleton.hide(); 22 } 23 img.css('opacity', '1'); 24 }); 25 } 26 }); 27 28 }); 29});
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.