1function productcardInit(){ 2 setTimeout(function () { 3 if ($('.aem-AuthorLayer-Edit').length > 0) { 4 $(".product-comp").each(function () { 5 if ($(this).children('.cq-Editable-dom').first().length < 1) { 6 $(this).css("flex-direction", "column"); 7 } 8 }) 9 } 10 }, 5000); 11}; 12$(window).on('load', function () { 13 productcardInit(); 14}); 15(function(){ 16 const waitForMbox = setInterval(()=>{ 17 const mbox = document.querySelector(".mboxDefault"); 18 if(mbox){ 19 clearInterval(waitForMbox); 20 const observer = new MutationObserver(function(mutations){ 21 mutations.forEach(function(mutation){ 22 if(mutation.type === "attributes"){ 23 productcardInit(); 24 } 25 }) 26 }) 27 observer.observe(mbox,{ 28 attributes:true, 29 }) 30 } 31 },200); 32})();
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.