1$(document).ready(function(){ 2 var winWidth = $(document).width(); 3 4 if($('body').hasClass('type-index')){ 5 $('.advantages').insertAfter('#header'); 6 } 7 if($('body').hasClass('type-detail')){ 8 if(winWidth <= 640){ 9 $('.advantages').insertAfter('#product-detail'); 10 }else{ 11 $('.advantages').appendTo('#content #column-l.sidebar'); 12 } 13 } 14 if($('body').hasClass('type-category')){ 15 $('body').addClass('showSubcatImage'); 16 $('.advantages').appendTo('#content #column-l.sidebar'); 17 } 18 $('#subcategories .subcategories-single img').each(function(){ 19 var imgSrc = $(this).attr('src'); 20 21 if(imgSrc.includes('/master/templates/frontend_templates/_/img/folder.svg')) { 22 $(this).parent().remove(); 23 } 24 }); 25 26 $(window).resize(function(){ 27 var winWidth = $(document).width(); 28 29 if($('body').hasClass('type-detail')) { 30 if(winWidth <= 640){ 31 $('.advantages').insertAfter('#product-detail'); 32 }else{ 33 $('.advantages').appendTo('#content #column-l.sidebar'); 34 } 35 } 36 }); 37});
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.