- 30 Mar 2014, 11:24
#49666
Está aparecendo o seguinte erro na aba dos produtos relacionados:
/javascript"> (function() { // store the slider in a local variable var $window = $(window), flexslider; // tiny helper function to add breakpoints function getGridSize() { return (window.innerWidth < 320) ? 1 : (window.innerWidth < 600) ? 2 : (window.innerWidth < 800) ? 3 : (window.innerWidth < 900) ? 3 : 4; } $window.load(function() { $('#content #related_pro').flexslider({ animation: "slide", animationLoop: false, slideshow: false, itemWidth: 210, minItems: getGridSize(), // use function to pull in initial value maxItems: getGridSize() // use function to pull in initial value }); }); }());
Até poucos dias atrás tava funcionando normalmente, não faço ideia do que seja, se puderem me ajudar, agradeço.
/javascript"> (function() { // store the slider in a local variable var $window = $(window), flexslider; // tiny helper function to add breakpoints function getGridSize() { return (window.innerWidth < 320) ? 1 : (window.innerWidth < 600) ? 2 : (window.innerWidth < 800) ? 3 : (window.innerWidth < 900) ? 3 : 4; } $window.load(function() { $('#content #related_pro').flexslider({ animation: "slide", animationLoop: false, slideshow: false, itemWidth: 210, minItems: getGridSize(), // use function to pull in initial value maxItems: getGridSize() // use function to pull in initial value }); }); }());
Até poucos dias atrás tava funcionando normalmente, não faço ideia do que seja, se puderem me ajudar, agradeço.

