From 1b1ff336e13590e82b0d2e4641ad512cd584b93c Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 28 Jun 2016 14:26:01 -0400 Subject: [PATCH] removing container width based on product number --- js/app.js | 6 +++--- js/custom/pageSetup.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/js/app.js b/js/app.js index 3ae56da..179ed63 100644 --- 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"); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index c8291c3..37bc3cc 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -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"); }); -- 2.17.1