var body = document.body; body.className += " u-body u-xl-mode"; body.style.cssText += " "; var dataBg = ''; if (dataBg) { body.setAttribute('data-bg', dataBg); } Znicze małe z wkładem Znicz UT31 wysokość 20 cm Znicz UT31 wysykość 20 cm Znicz U-308 wysykość 18 cm Znicz Z-192 wysykość 18 cm Znicz Z-94 wysykość 16 cm Znicz P-59 wysykość 16 cm Znicz (function($){ // get the images of the gallery and replace it by a canvas of the same size to fix the problem with overlapping images on load. $('img[width][height]:not(.uk-overlay-panel)', $('#wk-grid03c')).each(function() { var $img = $(this); if (this.width == 'auto' || this.height == 'auto' || !$img.is(':visible')) { return; } var $canvas = $('').attr({width:$img.attr('width'), height:$img.attr('height')}), img = new Image, release = function() { $canvas.remove(); $img.css('display', ''); release = function(){}; }; $img.css('display', 'none').after($canvas); $(img).on('load', function(){ release(); }); setTimeout(function(){ release(); }, 1000); img.src = this.src; }); })(jQuery); 2