CBD Shots | CBD Warehouse “)]]> 991){ } }); function stopSelling(action) { if (action == “text”) { $(‘#countdown-timer .text’).html(“The special has ended but you can still buy!”); $(‘#countdown-timer .countdown’).remove(); } } $.extend({ distinct : function(anArray) { var result = []; $.each(anArray, function(i, v){ if ($.inArray(v, result) == – 1) result.push(v); }); return result; } }); function integrateBxSlider(prod_id) { $(‘.ImageVisible’).css(‘visibility’, ‘hidden’); var clicked = $(‘.quickview-‘+prod_id+’-click’).attr(‘data-clicked’); $(‘.quickview-‘+prod_id+’-click’).attr(‘data-clicked’, ‘1’); if(clicked == ‘0’){ setTimeout(function(){ $(‘.bxslider-‘+prod_id+’-quickview’).bxSlider({ pagerCustom: ‘#bx-pager-‘+prod_id+’-quickview’, infiniteLoop: false }); $(‘.ImageVisible’).css(‘visibility’, ‘visible’); }, 1000); } else { $(‘.ImageVisible’).css(‘visibility’, ‘visible’); } } // ]]]]> ]]>
Source