1/* fix float error for cameleo thumbs with different height */ 2function calameoSinglePaperHeight() { 3 $('.startEpaperBlock').each(function () { 4 var rowHeight = 200; 5 $(this).children('.box.box3.singleEpaper').each(function () { 6 var element = $(this); 7 if (element.outerHeight( ) > rowHeight) { 8 rowHeight = element.outerHeight( ); 9 } 10 element.find('a img').each(function () { 11 imgHeight = $(this).height(); 12 }); 13 14 }); 15 $(this).children('.singleEpaper').each(function () { 16 $(this).height(rowHeight + 'px'); 17 }); 18 }); 19} 20function calameoSingleMagazinHeight() { 21 $('.startMagazinBlock').each(function () { 22 var rowHeight = 200; 23 $(this).children('.box.box3.singleMagazin').each(function () { 24 $(this).children('.startMagazinImage').each(function () { 25 var element = $(this); 26 if (element.outerHeight( ) > rowHeight) { 27 rowHeight = element.outerHeight( ); 28 } 29 console.log(rowHeight); 30 element.find('a img').each(function () { 31 imgHeight = $(this).height(); 32 }); 33 }); 34 }); 35 $(this).children('.box.box3.singleMagazin').each(function () { 36 $(this).children('.startMagazinImage').each(function () { 37 $(this).height(rowHeight + 'px'); 38 }); 39 }); 40 }); 41} 42 43 44 45$(window).on('load', function(){ 46 47 if ($(".startEpaperBlock")[0]){ 48 calameoSinglePaperHeight(); 49 } 50 if ($(".singleMagazin")[0]){ 51 calameoSingleMagazinHeight(); 52 } 53 54 window.addEventListener('resize', function(){ 55 if ($(".startEpaperBlock")[0]){ 56 calameoSinglePaperHeight(); 57 } 58 if ($(".singleMagazin")[0]){ 59 calameoSingleMagazinHeight(); 60 } 61 }, true); 62 63}); 64 65 66 67
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.