fixed syntax error
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 28 Jun 2016 17:44:40 +0000 (13:44 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 28 Jun 2016 17:44:40 +0000 (13:44 -0400)
js/app.js
js/custom/pageSetup.js

index 7acf07e..d168ef9 100644 (file)
--- 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");
     }
 });
index 0ff494c..4f49f45 100644 (file)
@@ -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");
     }
 });