From: Anthony Talarico Date: Wed, 29 Jun 2016 13:31:36 +0000 (-0400) Subject: removing console.debug statements X-Git-Tag: v1.0.0^2~89 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=45ace543f7726024c60cf696d6af14dd40d7b985;p=WP-Themes%2Ffrancejourneys.git removing console.debug statements --- diff --git a/js/app.js b/js/app.js index 7c9cbaa..ae14ea2 100644 --- a/js/app.js +++ b/js/app.js @@ -97,7 +97,7 @@ $(document).ready(function () { }); var products = $("ul.products").find("li.type-product").length; - console.debug(products); + if(products < 3 && products > 0){ $("#container").css("width", "1000px"); } diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 3ea5a64..8df0fc7 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -88,7 +88,7 @@ $(document).ready(function () { }); var products = $("ul.products").find("li.type-product").length; - console.debug(products); + if(products < 3 && products > 0){ $("#container").css("width", "1000px"); }