1$('[data-expand="advantage"]').on('click', function () { 2 // if($(window).width() < 768){ 3 $(this).toggleClass('expanded'); 4 // } 5}) 6 7 8window.addEventListener('load', function () { 9 var mediaQuery = window.matchMedia('(max-width: 767px)'); 10 11 function adjustTileSizes() { 12 var tiles = document.querySelectorAll('.aboutAdvantages .content-wrapper'); 13 var maxHeight = 0; 14 15 // Znajdź najwyższÄ wysokoÅÄ kafelka 16 tiles.forEach(function (tile) { 17 var tileHeight = tile.offsetHeight; 18 maxHeight = Math.max(maxHeight, tileHeight); 19 }); 20 21 // Ustaw tÄ samÄ wysokoÅÄ dla wszystkich kafelków 22 tiles.forEach(function (tile) { 23 tile.style.minHeight = maxHeight + 'px'; 24 }); 25 } 26 27 if (mediaQuery.matches) { 28 adjustTileSizes(); 29 } 30 31 mediaQuery.addEventListener('change', function (query) { 32 if (query.matches) { 33 adjustTileSizes(); 34 } 35 }); 36});
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.