From: Anthony Talarico Date: Tue, 28 Jun 2016 17:44:40 +0000 (-0400) Subject: fixed syntax error X-Git-Tag: v1.0.0^2~111 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=21b1e85ae02cd47e01edbeadedd88cd1aa618e54;p=WP-Themes%2Ffrancejourneys.git fixed syntax error --- diff --git a/js/app.js b/js/app.js index 7acf07e..d168ef9 100644 --- a/js/app.js +++ b/js/app.js @@ -99,7 +99,7 @@ $(document).ready(function () { var products = $(".type-product").length; console.debug(products); - if(products > 3){ + if(products < 3){ $("#container").css("width", "700px"); } }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 0ff494c..4f49f45 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -90,7 +90,7 @@ $(document).ready(function () { var products = $(".type-product").length; console.debug(products); - if(products > 3){ + if(products < 3){ $("#container").css("width", "700px"); } });