removing container width based on product number
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 28 Jun 2016 18:26:01 +0000 (14:26 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 28 Jun 2016 18:26:01 +0000 (14:26 -0400)
js/app.js
js/custom/pageSetup.js

index 3ae56da..179ed63 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -98,9 +98,9 @@ $(document).ready(function () {
     
     var products = $(".type-product").length;
     
-    if(products < 3){
-        $("#container").css("width", "700px");
-    }
+//    if(products < 3){
+//        $("#container").css("width", "700px");
+//    }
     
     $(".html5_video_tab").find('a').html("Video");
 });
index c8291c3..37bc3cc 100644 (file)
@@ -89,9 +89,9 @@ $(document).ready(function () {
     
     var products = $(".type-product").length;
     
-    if(products < 3){
-        $("#container").css("width", "700px");
-    }
+//    if(products < 3){
+//        $("#container").css("width", "700px");
+//    }
     
     $(".html5_video_tab").find('a').html("Video");
 });