From d6baa29e546bc1715007354b261bddedfe4092b5 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 11 Dec 2015 14:54:32 -0500 Subject: [PATCH] attempting to remove secondary sidebar for checkout page --- js/galleria.min.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/galleria.min.js b/js/galleria.min.js index 85b187d..9db330a 100644 --- a/js/galleria.min.js +++ b/js/galleria.min.js @@ -1,9 +1,7 @@ !function(){jQuery(window).load(function(){ if(window.location.href.indexOf("page_id=18") >= 0){ - alert(window.location.href + "success"); - } else { - alert(window.location.href); - } + jQuery("#secondary").attr("display", "none"); + } jQuery(".product-category.product .fadeIn").find("mark").remove(); jQuery('.page_item.page-item-16').append(""); jQuery("body").addClass("loaded"),jQuery(".site").addClass("animated fadeIn"),jQuery(".single_add_to_cart_button, .checkout-button").addClass("animated bounce");var t=jQuery(".star-rating > span").width();jQuery(".woocommerce-product-rating .star-rating > span").css("width",0),jQuery(".woocommerce-product-rating .star-rating > span").animate({width:t},1500,function(){}),jQuery(".woocommerce-tabs ul.tabs li a").click(function(){var t=jQuery(this).attr("href");jQuery(".woocommerce-tabs").find(t).addClass("animated bounceInUp")}),jQuery(window).width()>767&&(jQuery("body").hasClass("page-template-template-homepage")||jQuery("body").hasClass("storefront-full-width-content")||jQuery("body").hasClass("page-template-template-fullwidth-php")||jQuery("body").hasClass("single-product")||jQuery("ul.products").masonry({columnWidth:"li.product",itemSelector:"li.product",percentPosition:!0})/*,jQuery("ul.products li.product:not(.product-category)").hover(function(){jQuery(this).find(".g-product-title").addClass("animated fadeIn"),jQuery(this).find(".button").addClass("animated bounceIn")},function(){jQuery(this).find(".g-product-title").removeClass("fadeIn"),jQuery(this).find(".button").removeClass("bounceIn")})*/,jQuery("ul.products li.product .button").each(function(){var t=jQuery(this),e=t.outerHeight(),r=t.outerWidth();t.css("margin-top",-e/2).css("margin-left",-r/2)}),jQuery("ul.products li.product-category .g-product-title").each(function(){var t=jQuery(this),e=t.outerHeight(),r=t.outerWidth();t.css("margin-top",-e/2).css("margin-left",-r/2)}))})}(); \ No newline at end of file -- 2.17.1