1$= jQuery; 2$( document ).ready(function() { 3 setInterval(function() { 4 $('.td_module_flex .td-module-thumb .entry-thumb').each(function(index) { 5 var backgroundImageUrl2 = $(this).css('background-image'); 6 /*var backgroundImageUrl = $(this); 7 var backgroundImageUrl2 = $(this).css('background-image'); 8 if (backgroundImageUrl.attr('data-bg') && backgroundImageUrl.data('bg').includes('no-thumb') !== -1) { 9 $(this).addClass("ppc"); 10 } 11 else*/ if (backgroundImageUrl2.indexOf('no-thumb') !== -1) { 12 $(this).addClass("labj_placeholder"); 13 } 14 }); 15 }, 1000); 16 17 18 19 setTimeout(function() { 20 fixAnchorTag(); 21 }, 2500); 22}); 23 24// Function to fix anchor tag within .djoCheckoutButtons div 25function fixAnchorTag() { 26 // Find the anchor tag within the .djoCheckoutButtons div 27 var anchorTag = $('.djoCheckoutButtons a'); 28 console.log(">>", anchorTag); 29 // Check if the anchor tag exists 30 if (anchorTag.length > 0) { 31 // Fix the href attribute 32 anchorTag.attr('href', 'https://www.datajoe.com'); 33 } 34}
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.