From 21b1e85ae02cd47e01edbeadedd88cd1aa618e54 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 28 Jun 2016 13:44:40 -0400 Subject: [PATCH] fixed syntax error --- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); } }); -- 2.17.1